Instance Variable | path |
Undocumented |
Property | uri |
File uri property with win32 logic |
Method | _set_path |
Undocumented |
Inherited from UnixPath
:
Class Method | new_from_zim_config |
Returns a new object based on the string representation for that path |
Method | __add__ |
Concatenates paths, only creates objects of the same class. See Dir.file() and Dir.subdir() instead to create other objects. |
Method | __eq__ |
Undocumented |
Method | __init__ |
Constructor |
Method | __iter__ |
Undocumented |
Method | __ne__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | commonparent |
No summary |
Method | ctime |
Get the creation time of the file path. @returns: the mtime timestamp |
Method | exists |
No summary |
Method | ischild |
Check if this path is a child path of a folder @returns: True if this path is a child path of parent |
Method | isdir |
Check if this path is a folder or not. Used to detect if e.g. a File object should have really been a Dir object. @returns: True when this path is a folder |
Method | isequal |
No summary |
Method | iswritable |
Check if a file or folder is writable. Uses permissions of parent folder if the file or folder does not (yet) exist. @returns: True if the file or folder is writable |
Method | monitor |
Creates a FSObjectMonitor for this path |
Method | mtime |
Get the modification time of the file path. @returns: the mtime timestamp |
Method | relpath |
No summary |
Method | rename |
No summary |
Method | serialize_zim_config |
Returns the file path as string for serializing the object |
Method | size |
Get file size in bytes See format_file_size() to get a human readable label @returns: file size in bytes |
Method | split |
No summary |
Property | basename |
Basename property |
Property | dir |
Returns a Dir object for the parent dir |
Property | dirname |
Dirname property |
Property | user_path |
User_path property |
Static Method | _parse_uri |
Undocumented |
Instance Variable | _serialized |
Undocumented |