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 |
Method | setMetadata | Undocumented |
Method | rename | Rename this node to newName . |
Method | remove | Removes this node. |
'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
Protocols that need metadata should handle the case when a particular value isn't available as gracefully as possible.
newName
.Parameters | newName | A valid filename for the current directory. |
Raises | AlreadyExistsError | If newName is a directory which already exists.
|