Interface t.v.i.IFileSystemContainer(IFileSystemNode):

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

Known implementations: twisted.vfs.backends.adhoc.AdhocDirectory, twisted.vfs.backends.inmem.FakeDirectory, twisted.vfs.backends.osfs.OSDirectory
No interface docstring
Method children returns a list of 2 element tuples
Method child Returns a node object for child childName
Method createDirectory Creates a new folder named childName under this folder.
Method createFile Creates a new file named childName under this folder.
Method exists returns True if container has a child childName, False otherwise

Inherited from IFileSystemNode:

Attribute parent parent node
Method getMetadata returns a map of arbitrary metadata. As an example, here's what SFTP
Method remove Removes this node.
Method rename Renames this node to newName. newName can be in a different
def children(): (source)
returns a list of 2 element tuples [ ( path, nodeObject ) ]
def child(childName): (source)
Returns a node object for child childName

@raises NotFoundError if no child with that name exists.
def createDirectory(childName): (source)
Creates a new folder named childName under this folder. An error is raised if the folder already exists.
def createFile(childName, exclusive=True): (source)

Creates a new file named childName under this folder.

If exclusive is True (the default), an AlreadyExistsError is raised if the file already exists.
def exists(childName): (source)
returns True if container has a child childName, False otherwise
API Documentation for twisted, generated by pydoctor.