Part of twisted.python View Source
Interface | IFilePath | File path object. |
Class | InsecurePath | Error that is raised when the path provided to FilePath is invalid. |
Class | LinkError | An error with symlinks - either that there are cyclical symlinks or that symlink are not supported on this platform. |
Class | UnlistableError | An exception which is used to distinguish between errors which mean 'this is not a directory you can list' and other, more catastrophic errors. |
Class | AbstractFilePath | Abstract implementation of an IFilePath; must be completed by a subclass. |
Class | RWX | A class representing read/write/execute permissions for a single user category (i.e. user/owner, group, or other/world). Instantiate with three boolean values: readable? writable? executable?. |
Class | Permissions | A class representing read/write/execute permissions. Instantiate with any portion of the file's mode that includes the permission bits. |
Class | FilePath | I am a path on the filesystem that only permits 'downwards' access. |
Function | _stub_islink | Always return 'false' if the operating system does not support symlinks. |
Function | _stub_urandom | Provide random data in versions of Python prior to 2.4. This is an effectively compatible replacement for 'os.urandom'. |
Function | _stub_armor | ASCII-armor for random data. This uses a hex encoding, although we will prefer url-safe base64 encoding for features in this module if it is available. |
Class | _WindowsUnlistableError | This exception is raised on Windows, for compatibility with previous releases of FilePath where unportable programs may have done "except WindowsError:" around a call to children(). |
Function | _secureEnoughString | Create a pseudorandom, 16-character string for use in secure filenames. |
Parameters | path | a path string. (type: str ) |
Returns | false |
Parameters | n | the number of bytes of data to return (type: int ) |
Returns | n bytes of random data. (type: str) |