t.p.z.ZipPath(_PathHelper) : class documentation

Part of twisted.python.zippath View Source View In Hierarchy

Known subclasses: twisted.python.zippath.ZipArchive

I represent a file or directory contained within a zip file.
Method __init__ Don't construct me directly. Use ZipArchive.child().
Method __cmp__ Undocumented
Method __repr__ Undocumented
Method parent Undocumented
Method child Undocumented
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 time for the archive.
Method getModificationTime Retrieve this file's last modification time. This is the time of modification recorded in the zipfile.
Method getStatusChangeTime Retrieve this file's last modification time. This name is provided for compatibility, and returns the same value as getmtime.

Inherited from _PathHelper:

Method getContent Undocumented
Method children List the chilren of this path object.
Method walk Yield myself, then each of my children, and each of those children's children in turn.
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.
def __init__(self, archive, pathInArchive): (source)
Don't construct me directly. Use ZipArchive.child().
Parametersarchivea ZipArchive instance.
pathInArchivea ZIP_PATH_SEP-separated string.
def __cmp__(self, other): (source)
Undocumented
def __repr__(self): (source)
Undocumented
def parent(self): (source)
Undocumented
def child(self, path): (source)
Undocumented
def sibling(self, path): (source)
Undocumented
def exists(self): (source)
Undocumented
def isdir(self): (source)
Undocumented
def isfile(self): (source)
Undocumented
def islink(self): (source)
Undocumented
def listdir(self): (source)
Undocumented
def splitext(self): (source)
Return a value similar to that returned by os.path.splitext.
def basename(self): (source)
Undocumented
def dirname(self): (source)
Undocumented
def open(self): (source)
Undocumented
def restat(self): (source)
Undocumented
def getAccessTime(self): (source)
Retrieve this file's last access-time. This is the same as the last access time for the archive.
Returnsa number of seconds since the epoch
def getModificationTime(self): (source)
Retrieve this file's last modification time. This is the time of modification recorded in the zipfile.
Returnsa number of seconds since the epoch.
def getStatusChangeTime(self): (source)
Retrieve this file's last modification time. This name is provided for compatibility, and returns the same value as getmtime.
Returnsa number of seconds since the epoch.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 15:57:47.