module documentation
(source)

Base classes for filesystem and storage implementation
Class File Base class for folder implementations. Cannot be intatiated directly; use one of the subclasses instead. Main use outside of this module is to check isinstance(object, Folder).
Class FileChangedError Undocumented
Class FileExistsError Undocumented
Class FileNotFoundError Undocumented
Class FileNotWritableError Undocumented
Class FilePath Class to represent filesystem paths and the base class for all file and folder objects. Contains methods for file path manipulation.
Class FileUnicodeError Error raised when there is an issue decoding the file contents. Typically due to different encoding where UTF-8 is expected.
Class Folder Base class for folder implementations. Cannot be intatiated directly; use one of the subclasses instead. Main use outside of this module is to check isinstance(object, Folder).
Class FolderNotEmptyError Undocumented
Class FSObjectBase Base class for File and Folder
Class FSObjectMeta No summary
Function get_mimetype_from_path Undocumented
Function is_abs_filepath Undocumented
Constant IMAGE_EXTENSIONS Undocumented
Constant SEP Undocumented
Variable is_share_re Undocumented
Variable is_url_re Undocumented
Variable logger Undocumented
Variable mimetypes Undocumented
Variable mytype Undocumented
Variable xdgmime Undocumented
Function _joinabspath Undocumented
Function _joinuri Undocumented
Function _md5 Undocumented
Function _os_expanduser Undocumented
Function _split_file_url Undocumented
Function _splitnormpath Undocumented
Constant _EOL Undocumented
Constant _HOME Undocumented
def get_mimetype_from_path(path): (source)

Undocumented

def is_abs_filepath(string): (source)

Undocumented

IMAGE_EXTENSIONS: dict[str, str] = (source)

Undocumented

Value
{'bmp': 'image/bmp',
 'gif': 'image/gif',
 'icns': 'image/x-icns',
 'ico': 'image/x-icon',
 'cur': 'image/x-icon',
 'jp2': 'image/jp2',
 'jpc': 'image/jp2',
...

Undocumented

Value
os.path.sep
is_share_re = (source)

Undocumented

is_url_re = (source)

Undocumented

logger = (source)

Undocumented

mimetypes = (source)

Undocumented

mytype = (source)

Undocumented

xdgmime = (source)

Undocumented

def _joinabspath(names, origpath=None): (source)

Undocumented

def _joinuri(names): (source)

Undocumented

def _md5(content): (source)

Undocumented

def _os_expanduser(path): (source)

Undocumented

def _split_file_url(url): (source)

Undocumented

def _splitnormpath(path, force_rel=False): (source)

Undocumented

_EOL: str = (source)

Undocumented

Value
'unix'
_HOME = (source)

Undocumented

Value
FilePath('~')