1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 10:31:15 +02:00

* Delete the chroot directory automatically.

* Removed some debug messages.
This commit is contained in:
Eelco Dolstra 2007-10-27 16:06:38 +00:00
parent 9397cd30c8
commit dc6f373842
5 changed files with 80 additions and 19 deletions

View file

@ -70,7 +70,7 @@ void deletePath(const Path & path, unsigned long long & bytesFreed);
void makePathReadOnly(const Path & path);
/* Create a temporary directory. */
Path createTempDir(const Path & tmpRoot = "");
Path createTempDir(const Path & tmpRoot = "", const Path & prefix = "nix");
/* Create a directory and all its parents, if necessary. Returns the
list of created directories, in order of creation. */