t.v.pathutils : module documentation

Part of twisted.vfs View Source

No module docstring
Function getAbsoluteSegments
Function fetch
Function basename Undocumented
Function dirname Undocumented
Function getRoot Undocumented
Function getSegments Undocumented
Interface IFileSystem No interface docstring; 2/2 attributes, 7/7 methods documented
Class FileSystem Wraps unix-like VFS backends, in which directory separator is '/', root's path is '/', and all directories have '.' and '..'.
def getAbsoluteSegments(path, cwd='/'): (source)
Parameterspatheither a string or a list of string segments which specifys the desired path. may be relative to the cwd
cwd

optional string specifying the current working directory

returns a list of string segments which most succinctly describe how to get to path from root
def fetch(root, path, cwd='/'): (source)
ParametersrootIFileSystemContainer which represents the root node of the filesystem
patheither a string or a list of string segments which specifys the desired path. may be relative to the cwd
cwd

optional string specifying the current working directory

returns node described by path relative to the cwd
def basename(path, cwd='/'): (source)
Undocumented
def dirname(path, cwd='/'): (source)
Undocumented
def getRoot(node): (source)
Undocumented
def getSegments(node): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2011-10-27 15:57:47.