Working with temporary file systems.
See Using TempIO for examples.
self-destructing, temporary directory.
Takes the same keyword args as tempfile.mkdtemp with these additional keywords:
Returns an instance of DeletableDirPath
Bases: fixture.io.DirPath
A temporary directory path.
That is, one that can be deleted.
Note
Use the TempIO() function to create an instance
A directory path.
The instance will function exactly like a string but is enhanced with a few common methods from os.path. Note that path.split() is implemented as self.splitpath() since otherwise paths may not work right in other applications (conflicts with str.split()).
makes a directory in the root and returns its full path.
the path is split each non-existant directory is made. returns full path to new directory.
puts new filename relative to your TempIO() root. Makes all directories along the path to the final file.
The fname argument can be a complete path, but must not start with a slash. Any missing directories will be created relative to the TempIO() root
returns absolute filename.