Trees | Indices | Help |
|
---|
|
File storage functions.
|
|||
|
|||
frozenset |
|
||
list |
|
||
|
|||
|
|||
list |
|
||
|
|||
|
|||
string |
|
Imports: logging, os, compat, constants, errors, pathutils, utils
|
Retrieves the free and total space of the device where the file is located.
|
Cross-checks a list of paths for prefixes considered bad. Some paths, e.g. "/bin", should not be used for file storage.
|
Returns a list of file storage paths whose prefix is considered bad. See _ComputeWrongFileStoragePaths. |
Checks if a path is in a list of allowed paths for file storage.
|
Loads file containing allowed file storage paths.
|
Checks if a path is allowed for file storage.
|
Checks whether the given path is usable on the file system. This checks wether the path is existing, a directory and writable.
|
Checks whether the path exists and is acceptable to use. Can be used for any file-based storage, for example shared-file storage.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jan 7 16:23:26 2016 | http://epydoc.sourceforge.net |