class documentation

class MockFile(MockFSObjectBase, File): (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method read Undocumented
Method read_binary Undocumented
Method readline Undocumented
Method readlines Undocumented
Method size Undocumented
Method write Undocumented
Method write_binary Undocumented
Method writelines Undocumented
Instance Variable endofline Undocumented
Method _node Undocumented
Instance Variable _mimetype Undocumented

Inherited from MockFSObjectBase:

Method __eq__ Undocumented
Method copyto Undocumented
Method ctime Undocumented
Method exists Undocumented
Method isequal No summary
Method iswritable Undocumented
Method moveto Undocumented
Method mtime Undocumented
Method parent Undocumented
Method remove Undocumented
Method _mock_copyto Undocumented
Method _remove Undocumented
Method _set_mtime Undocumented
Instance Variable _fs Undocumented

Inherited from FSObjectBase (via MockFSObjectBase):

Method touch Undocumented
Instance Variable watcher Undocumented
Method _cleanup Undocumented
Method _moveto Undocumented

Inherited from FilePath (via MockFSObjectBase, FSObjectBase):

Class Method new_from_zim_config Returns a new object based on the string representation for that path
Method __repr__ Undocumented
Method __str__ Undocumented
Method commonparent Undocumented
Method get_abspath No summary
Method get_childpath Undocumented
Method ischild Undocumented
Method parents Undocumented
Method relpath Undocumented
Method serialize_zim_config Returns the file path as string for serializing the object
Class Variable __slots__ Undocumented
Instance Variable islocal Undocumented
Instance Variable path Undocumented
Instance Variable pathnames Undocumented
Property basename Undocumented
Property dirname Undocumented
Property uri Undocumented
Property userpath Undocumented

Inherited from File:

Method __iter__ Undocumented
Method isimage No summary
Method mimetype No summary
Method read_with_etag Undocumented
Method readlines_with_etag Undocumented
Method touch Undocumented
Method verify_etag Undocumented
Method write_with_etag Undocumented
Method writelines_with_etag Undocumented
Method _copyto Undocumented
Method _read_with_etag Undocumented
Method _write_decoration Undocumented
Method _write_with_etag Undocumented

Inherited from FSObjectBase (via File):

Method copyto Undocumented
Method ctime Undocumented
Method exists Undocumented
Method isequal No summary
Method iswritable Undocumented
Method moveto Undocumented
Method mtime Undocumented
Method parent Undocumented
Method remove Undocumented
Instance Variable watcher Undocumented
Method _cleanup Undocumented
Method _moveto Undocumented
Method _set_mtime Undocumented

Inherited from FilePath (via File, FSObjectBase):

Class Method new_from_zim_config Returns a new object based on the string representation for that path
Method __eq__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
Method commonparent Undocumented
Method get_abspath No summary
Method get_childpath Undocumented
Method ischild Undocumented
Method parents Undocumented
Method relpath Undocumented
Method serialize_zim_config Returns the file path as string for serializing the object
Class Variable __slots__ Undocumented
Instance Variable islocal Undocumented
Instance Variable path Undocumented
Instance Variable pathnames Undocumented
Property basename Undocumented
Property dirname Undocumented
Property uri Undocumented
Property userpath Undocumented
def __init__(self, path, endofline=_EOL, watcher=None, _fs=None): (source)
def read(self, size=-1): (source)

Undocumented

def read_binary(self): (source)

Undocumented

def readline(self, size=-1): (source)

Undocumented

def readlines(self): (source)

Undocumented

def size(self): (source)

Undocumented

def write(self, text): (source)

Undocumented

def write_binary(self, data): (source)

Undocumented

def writelines(self, lines): (source)

Undocumented

endofline = (source)

Undocumented

def _node(self): (source)

Undocumented

_mimetype = (source)

Undocumented