Part of twisted.python.zippath View Source View In Hierarchy
Known subclasses: twisted.python.zippath.ZipArchive
Method | __init__ | Don't construct me directly. Use ZipArchive.child(). |
Method | __cmp__ | Undocumented |
Method | __repr__ | Undocumented |
Method | parent | Undocumented |
Method | child | Return a new ZipPath representing a path in self.archive
which is |
Method | sibling | Undocumented |
Method | exists | Undocumented |
Method | isdir | Undocumented |
Method | isfile | Undocumented |
Method | islink | Undocumented |
Method | listdir | Undocumented |
Method | splitext | Return a value similar to that returned by os.path.splitext. |
Method | basename | Undocumented |
Method | dirname | Undocumented |
Method | open | Undocumented |
Method | restat | Undocumented |
Method | getAccessTime | Retrieve this file's last access-time. This is the same as the last access |
Method | getModificationTime | Retrieve this file's last modification time. This is the time of |
Method | getStatusChangeTime | Retrieve this file's last modification time. This name is provided for |
Inherited from _PathHelper:
Method | getContent | Undocumented |
Method | parents | |
Method | children | List the children of this path object. |
Method | walk | Yield myself, then each of my children, and each of those children's |
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 | archive | a ZipArchive instance. |
pathInArchive | a ZIP_PATH_SEP-separated string. |
self.archive
which is a child of this path.Note | Requesting the ".." (or other special name) child
will not cause InsecurePath
to be raised since these names do not have any special meaning inside a zip
archive. Be particularly careful with the path attribute (if
you absolutely must use it) as this means it may include special names with
special meaning outside of the context of a zip archive.
|
Returns | a number of seconds since the epoch |
Returns | a number of seconds since the epoch. |
Returns | a number of seconds since the epoch. |