Part of twisted.python.zippath View Source View In Hierarchy
Method | __init__ | Create a ZipArchive, treating the archive at archivePathname as a zip file. |
Method | child | Create a ZipPath pointing at a path within the archive. |
Method | exists | Returns true if the underlying archive exists. |
Method | getAccessTime | Return the archive file's last access time. |
Method | getModificationTime | Return the archive file's modification time. |
Method | getStatusChangeTime | Return the archive file's status change time. |
Method | __repr__ | Undocumented |
Inherited from ZipPath:
Method | __cmp__ | Undocumented |
Method | parent | A file path for the directory containing the file at this file path. |
Method | sibling | Return a FilePath with
the same directory as this instance but with a basename of
path . |
Method | isdir | |
Method | isfile | |
Method | islink | Undocumented |
Method | listdir | Undocumented |
Method | splitext | Return a value similar to that returned by os.path.splitext. |
Method | basename | |
Method | dirname | Undocumented |
Method | open | Opens this file path with the given mode. @return: a file-like-object. @raise Exception: if this file path cannot be opened. |
Method | changed | Clear any cached information about the state of this path on disk. |
Method | getsize | Retrieve this file's size. |
Inherited from AbstractFilePath (via ZipPath):
Method | getContent | Undocumented |
Method | parents | |
Method | children | List the children of this path object. |
Method | walk | No summary |
Method | descendant | Retrieve a child or child's child of this path. |
Method | segmentsFrom | Return a list of segments between a child and its ancestor. |
Method | __hash__ | Hash the same as another FilePath with the same path as mine. |
Method | getmtime | Deprecated. Use getModificationTime instead. |
Method | getatime | Deprecated. Use getAccessTime instead. |
Method | getctime | Deprecated. Use getStatusChangeTime instead. |
Parameters | archivePathname | a str, naming a path in the filesystem. |
Parameters | path | a str with no path separators in it, either '/' or the system path separator, if it's different. |