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

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

Known implementations: twisted.vfs.pathutils.FileSystem

No interface docstring
Line # Kind Name Docs
81 Attribute root root IFileSystemNode of the IFileSystem
82 Attribute pathToCWD path to current working directory
84 Method absPath returns a normalized absolutized version of the pathname path
89 Method splitPath returns a normalized absolutized version of the pathname path
95 Method joinPath joins the two paths, tail and head
100 Method dirname returns the directory name of the container for path
105 Method basename returns the base name of pathname path
110 Method fetch returns a node object representing the file with pathname path
115 Method _getImplicitChildren returns implicit children for a given dir
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 2008-10-26 16:12:37.