From 582e01c06f9ecee25a31c34562926b41dc2856eb Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 9 Feb 2005 09:50:29 +0000 Subject: * Automatically upgrade <= 0.7 Nix stores to the new schema (so that existing user environments continue to work). * `nix-store --verify': detect incomplete closures. --- src/libutil/util.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libutil/util.hh') diff --git a/src/libutil/util.hh b/src/libutil/util.hh index c7f117129f17..b67913862408 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -94,6 +94,9 @@ Strings readDirectory(const Path & path); string readFile(int fd); string readFile(const Path & path); +/* Write a string to a file. */ +void writeFile(const Path & path, const string & s); + /* Delete a path; i.e., in the case of a directory, it is deleted recursively. Don't use this at home, kids. */ void deletePath(const Path & path); -- cgit 1.4.1