Part of twisted.vfs.backends.osfs View Source View In Hierarchy
Known subclasses: twisted.vfs.backends.osfs.OSDirectory, twisted.vfs.backends.osfs.OSFile
Implements interfaces: twisted.vfs.ivfs.IFileSystemNode
| Method | __init__ | Undocumented |
| Method | getMetadata | Feturns a map of arbitrary metadata. As an example, here's what SFTP expects (but doesn't require): |
| Method | setMetadata | Undocumented |
| Method | rename | Rename this node to newName.
|
| Method | remove | Removes this node. An error is raised if the node is a directory and is not empty. |
'size': size of file in bytes
'uid': owner of the file
'gid': group owner of the file
'permissions': file permissions
'atime': last time the file was accessed
'mtime': last time the file was modified
'nlink': number of links to the file
newName.
| Parameters | newName | A valid filename for the current directory. |
| Raises | AlreadyExistsError | If newName is a directory which already exists.
|