Part of twisted.vfs.backends.adhoc View Source View In Hierarchy
Ad-hoc directory.
Can contain arbitrary other directories (but not files) as children.Method | __init__ | Undocumented |
Method | children | returns a list of 2 element tuples |
Method | child | Returns a node object for child childName |
Method | getMetadata | Undocumented |
Method | exists | returns True if container has a child childName, False otherwise |
Method | putChild | Undocumented |
Method | createDirectory | Creates a new folder named childName under this folder. |
Method | createFile | Creates a new file named childName under this folder. |
Returns a node object for child childName @raises NotFoundError if no child with that name exists.
Creates a new file named childName under this folder.
If exclusive is True (the default), an AlreadyExistsError is raised if the file already exists.