1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 08:31:16 +02:00

* Create missing log and temproots directories automatically (reported

by Rob).
This commit is contained in:
Eelco Dolstra 2005-03-24 17:46:38 +00:00
parent d1487d9015
commit c6178f0b03
4 changed files with 25 additions and 13 deletions

View file

@ -107,6 +107,9 @@ void makePathReadOnly(const Path & path);
/* Create a temporary directory. */
Path createTempDir();
/* Create a directory and all its parents, if necessary. */
void createDirs(const Path & path);
/* Create a file and write the given text to it. The file is written
in binary mode (i.e., no end-of-line conversions). The path should
not already exist. */