module documentation
Undocumented
Class |
|
A ZipFile subclass that ensures that implied directories are always included in the namelist. |
Class |
|
ZipFile subclass to ensure implicit dirs exist and are resolved rapidly. |
Class |
|
A pathlib-compatible interface for zip files. |
Function | _ancestry |
Given a path with elements separated by posixpath.sep, generate all elements of that path |
Function | _difference |
Return items in minuend not in subtrahend, retaining order with O(1) lookup. |
Function | _parents |
Given a path with elements separated by posixpath.sep, generate all parents of that path. |
Function | _pathlib |
For path-like objects, convert to a filename for compatibility on Python 3.6.1 and earlier. |
Given a path with elements separated by posixpath.sep, generate all elements of that path >>> list(_ancestry('b/d')) ['b/d', 'b'] >>> list(_ancestry('/b/d/')) ['/b/d', '/b'] >>> list(_ancestry('b/d/f/')) ['b/d/f', 'b/d', 'b'] >>> list(_ancestry('b')) ['b'] >>> list(_ancestry('')) []