Part of lp.poppy.filesystem View In Hierarchy
Implements interfaces: zope.server.interfaces.ftp.IFileSystem
Method | __init__ | Undocumented |
Method | type | Return the file type at path |
Method | names | Return a sequence of the names in a directory |
Method | ls | Return a sequence of information objects. |
Method | readfile | Outputs the file at path to a stream. |
Method | lsinfo | Return information for a unix-style ls listing for the path |
Method | mtime | Return the modification time for the file |
Method | size | Return the size of the file at path |
Method | mkdir | Create a directory. |
Method | remove | Remove a file. |
Method | rmdir | Remove a directory. |
Method | rename | Rename a file. |
Method | writefile | Write data to a file. |
Method | writable | Return boolean indicating whether a file at path is writable. |
Method | _full | Returns the full path name (i.e. rootpath + path) |
Method | _sanitize | Undocumented |
The 'type' command returns 'f' for a file, 'd' for a directory and None if there is no file.
If the filter is not None, include only those names for which the filter returns a true value.
It considers the names in the given path (returned self.name()) and builds file information using self.lsinfo().
Not allowed - see filesystem.txt.
See zope3's interfaces/ftp.py:IFileSystem for details of the dictionary's content.