t.v.p.IFileSystem(Interface) : interface documentation

Part of twisted.vfs.pathutils View Source View In Hierarchy

Known implementations: twisted.vfs.pathutils.FileSystem

No interface docstring
Attribute root root IFileSystemNode of the IFileSystem
Attribute pathToCWD path to current working directory
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
root =
root IFileSystemNode of the IFileSystem
pathToCWD =
path to current working directory
def absPath(path): (source)
returns a normalized absolutized version of the pathname path
def splitPath(path): (source)
returns a normalized absolutized version of the pathname path split on the filesystem's directory seperator
def joinPath(tail, head): (source)
joins the two paths, tail and head
def dirname(path): (source)
returns the directory name of the container for path
def basename(path): (source)
returns the base name of pathname path
def fetch(path): (source)
returns a node object representing the file with pathname path
def _getImplicitChildren(dir): (source)

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 ) ]
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:17:34.