1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-10 11:01:03 +01:00

* Refactoring on the file names.

This commit is contained in:
Eelco Dolstra 2003-07-07 07:43:58 +00:00
parent 7952a8053c
commit 224c585aba
7 changed files with 17 additions and 60 deletions

24
src/store.hh Normal file
View file

@ -0,0 +1,24 @@
#ifndef __VALUES_H
#define __VALUES_H
#include <string>
#include "hash.hh"
using namespace std;
void copyPath(string src, string dst);
/* Copy a file to the nixStore directory and register it in dbRefs.
Return the hash code of the value. */
void addToStore(string srcPath, string & dstPath, Hash & hash);
/* Delete a value from the nixStore directory. */
void deleteFromStore(const string & path);
/* !!! */
string queryFromStore(Hash hash);
#endif /* !__VALUES_H */