|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
#include "lix/libutil/file-system.hh"Go to the source code of this file.
Functions | |
| Path | nix::createTempDir (const Path &tmpRoot, const Path &prefix, bool includePid, bool useGlobalCounter, mode_t mode) |
| std::pair< AutoCloseFD, Path > | nix::createTempFile (const Path &prefix) |
| Path | nix::defaultTempDir () |
| Path nix::createTempDir | ( | const Path & | tmpRoot = "", |
| const Path & | prefix = "nix", | ||
| bool | includePid = true, | ||
| bool | useGlobalCounter = true, | ||
| mode_t | mode = 0755 ) |
Create a temporary directory.
| std::pair< AutoCloseFD, Path > nix::createTempFile | ( | const Path & | prefix = "nix" | ) |
Create a temporary file, returning a file handle and its path.
| Path nix::defaultTempDir | ( | ) |
Return settings.tempDir, TMPDIR, or the default temporary directory if unset or empty.