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

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

I am a FilePath-like object which can wrap a zip archive as if it were a directory.
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 Undocumented
Method sibling 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

Inherited from _PathHelper (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.
def __init__(self, archivePathname): (source)
Create a ZipArchive, treating the archive at archivePathname as a zip file.
ParametersarchivePathnamea str, naming a path in the filesystem.
def child(self, path): (source)
Create a ZipPath pointing at a path within the archive.
Parameterspatha str with no path separators in it, either '/' or the system path separator, if it's different.
def exists(self): (source)
Returns true if the underlying archive exists.
def getAccessTime(self): (source)
Return the archive file's last access time.
def getModificationTime(self): (source)
Return the archive file's modification time.
def getStatusChangeTime(self): (source)
Return the archive file's status change time.
def __repr__(self): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.