Part of twisted.vfs.pathutils View Source View In Hierarchy
Implements interfaces: twisted.vfs.pathutils.IFileSystem
Wraps unix-like VFS backends, in which directory separator is '/', root's path is '/', and all directories have '.' and '..'.
Effectively, this is just a convenience wrapper around the other functions in this module which remembers the root node and the current working directory.Method | __init__ | Undocumented |
Method | absPath | returns a normalized absolutized version of the pathname path |
Method | splitPath | returns a normalized absolutized version of the pathname path split on the filesystem's directory seperator |
Method | joinPath | joins the two paths, tail and head |
Method | dirname | returns the directory name of the container for path |
Method | basename | returns the base name of pathname path |
Method | fetch | returns a node object representing the file with pathname path |
Method | _getImplicitChildren | No summary |
returns implicit children for a given dir this is placed in the filesystem so that the same directory can have different implicit children depending on what sort of filesystem it has been placed in
(This may not be the best idea)
returns a list of 2 element tuples,[ ( path, nodeObject )
]
, e.g.:
[ ( ".", dir ), ( "..", dir.parent ) ]