t.p.filepath : module documentation

Part of twisted.python View Source

Object-oriented filesystem path representation.
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
Class UnlistableError An exception which is used to distinguish between errors which mean 'this
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
Function _stub_armor ASCII-armor for random data. This uses a hex encoding, although we will
Class _WindowsUnlistableError This exception is raised on Windows, for compatibility with previous
Function _secureEnoughString Create a pseudorandom, 16-character string for use in secure filenames.
Class _PathHelper Abstract helper class also used by ZipPath; implements certain utility
def _stub_islink(path): (source)
Always return 'false' if the operating system does not support symlinks.
Parameterspatha path string. (type: str )
Returnsfalse
def _stub_urandom(n): (source)
Provide random data in versions of Python prior to 2.4. This is an effectively compatible replacement for 'os.urandom'.
Parametersnthe number of bytes of data to return (type: int )
Returnsn bytes of random data. (type: str )
def _stub_armor(s): (source)
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.
def _secureEnoughString(): (source)
Create a pseudorandom, 16-character string for use in secure filenames.
API Documentation for Twisted, generated by pydoctor at 2010-07-05 15:03:32.