dalicious.tempfile

Create temporary files and folders. These are wrappers around the corresponding functions in core.sys.posix.stdlib.

Members

Functions

mkdtemp
string mkdtemp(in string templateString)

Generates a uniquely named temporary directory from template.

mkstemp
Tuple!(File, "file", string, "name") mkstemp(in string templateString)
Tuple!(File, "file", string, "name") mkstemp(in string templateString, in string templateSuffix)

Generate a unique temporary filename from templateString, creates and opens the file, and returns the open file and generated name.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE file.

Authors

Arne Ludwig <arne.ludwig@posteo.de>