Part of twisted.vfs.ivfs View Source View In Hierarchy
Known subclasses: twisted.vfs.ivfs.IFileSystemContainer, twisted.vfs.ivfs.IFileSystemLeaf
Known implementations: twisted.vfs.backends.osfs.OSNode
Attribute | parent | parent node |
Method | getMetadata | Feturns a map of arbitrary metadata. As an example, here's what SFTP expects (but doesn't require): |
Method | remove | Removes this node. An error is raised if the node is a directory and is not empty. |
Method | rename | Renames this node to newName. newName can be in a different directory. If the destination is an existing directory, an error will be raised. |
'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