Part of twisted.vfs.backends.osfs View Source View In Hierarchy
Method | children | See IFileSystemContainer. |
Method | child | See IFileSystemContainer. |
Method | childDirFactory | Returns a callable that will be used to construct instances for |
Method | childFileFactory | Returns a callable that will be used to construct instances for files |
Method | createDirectory | See IFileSystemContainer. |
Method | createFile | See IFileSystemContainer. |
Method | create | Undocumented |
Method | remove | Removes this node. |
Method | exists | See IFileSystemContainer. |
Inherited from OSNode:
Method | __init__ | Undocumented |
Method | getMetadata | returns a map of arbitrary metadata. As an example, here's what SFTP |
Method | setMetadata | Undocumented |
Method | rename | Renames this node to newName. newName can be in a different |
Returns a callable that will be used to construct instances for subdirectories of this OSDirectory. The callable should accept the same interface as OSDirectory.__init__; i.e. take three args (path, name, parent), and return an IFileSystemContainer.
By default, this will be the class of the child's parent. Override this method if you want a different behaviour.Returns a callable that will be used to construct instances for files in this OSDirectory. The callable should accept the same interface as OSFile.__init__; i.e. take three args (path, name, parent), and return an IFileSystemLeaf.
By default, this will be OSFile. Override this method if you want a different behaviour.