os.temporary – Temporary files and directories
API
class File:
A temporary file.
func __init__(self, remove: bool = True, directory: Path? = None):
func path(self) -> Path:
The file system path to the file.
class Directory:
A temporary directory.
func __init__(self, remove: bool = True, directory: Path? = None):
func path(self) -> Path:
The file system path to the directory.