module documentation
(source)

Local file system object
Class AtomicWriteContext Undocumented
Class FileNameLenghtError Undocumented
Class LocalFile Undocumented
Class LocalFolder Undocumented
Class LocalFSObjectBase Undocumented
Class LocalTmpFolder Undocumented
Class PathLenghtError Undocumented
Class TmpFile Class for temporary files. These are stored in the temp directory and by default they are deleted again when the object is destructed.
Function get_tmpdir No summary
Variable logger Undocumented
Function _os_lrmdir Wrapper for os.rmdir that also knows how to unlink symlinks. Fails when the folder is not a link and is not empty. @param path: a file system path as string
Function _replace_file Undocumented
Variable _tmpdir Undocumented
def get_tmpdir(): (source)
Get a folder in the system temp dir for usage by zim. This zim specific temp folder has permission set to be readable only by the current users, and is touched if it didn't exist yet. Used as base folder by TmpFile.
Returns
a Dir object for the zim specific tmp folder
logger = (source)

Undocumented

def _os_lrmdir(path): (source)
Wrapper for os.rmdir that also knows how to unlink symlinks. Fails when the folder is not a link and is not empty.
Parameters
patha file system path as string
def _replace_file(src, dst): (source)

Undocumented

_tmpdir = (source)

Undocumented