Class f.i.DeletableDirPath(DirPath):

Part of fixture.io View In Hierarchy

No class docstring
Method __del__ removes the root directory and everything under it.
Method rmtree forcefully removes the root directory and everything under it.

Inherited from DirPath:

Method __init__ Undocumented
Method __setattr__ self.new_directory = "rel/path/to/directory"
Method _wrap Undocumented
Method abspath os.path.abspath(self)
Method basename os.path.basename(self)
Method dirname os.path.dirname(self)
Method exists os.path.exists(self)
Method join os.path.join(self, *dirs)
Method mkdir makes a directory in the root and returns its full path.
Method normpath os.path.normpath(self)
Method putfile puts new filename relative to your TempIO root.
Method realpath os.path.realpath(self)
Method splitext os.path.splitext(self)
Method splitpath os.path.split(self)
def __del__(self):
removes the root directory and everything under it.
def rmtree(self):
forcefully removes the root directory and everything under it.

This can be trusted more than del self because it is guaranteed to remove the directory tree.

API Documentation for fixture, generated by pydoctor.