diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-08-01 09:01:51 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-08-01 09:01:51 +0000 |
commit | 9df93f30bda81ffa3cf040c146347e02d3a56666 (patch) | |
tree | b1dea53b8b6fe191d2624a0c6cff144f240e96f5 /src/store.hh | |
parent | 06434072e7860f2eaac9581e979801b7b3493a1e (diff) |
* Don't use substitutes in addToStore().
Diffstat (limited to 'src/store.hh')
-rw-r--r-- | src/store.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/store.hh b/src/store.hh index b2cdc41f1..d1f1be668 100644 --- a/src/store.hh +++ b/src/store.hh @@ -35,7 +35,8 @@ bool queryPathId(const string & path, FSId & id); substitute (since when we build the substitute, we would first try to expand the id... kaboom!). */ string expandId(const FSId & id, const string & target = "", - const string & prefix = "/", FSIdSet pending = FSIdSet()); + const string & prefix = "/", FSIdSet pending = FSIdSet(), + bool ignoreSubstitutes = false); /* Copy a file to the nixStore directory and register it in dbRefs. Return the hash code of the value. */ |