Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
temporary-dir.hh
Go to the documentation of this file.
1#pragma once
3
5
6namespace nix {
7
11Path createTempDir(const Path & tmpRoot = "", const Path & prefix = "nix",
12 bool includePid = true, bool useGlobalCounter = true, mode_t mode = 0755);
13
17std::pair<AutoCloseFD, Path> createTempFile(const Path & prefix = "nix");
18
22Path defaultTempDir();
23
24}
std::string Path
Definition types.hh:28