diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-12-03T16·10+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-12-03T16·10+0000 |
commit | ff762fb499be220ccd680f3bf68dca44a902a5ff (patch) | |
tree | 02f738ec60517e3eadd5b0a2bc2fe5c19c3d954c /src/libstore/local-store.hh | |
parent | 1307b222239da8e503d22ad9316789e30b4e2431 (diff) |
* Pass HashType values instead of strings.
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r-- | src/libstore/local-store.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index 3d47446f6e40..77e46fc3cc27 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -90,7 +90,7 @@ public: const Path & path, SubstitutablePathInfo & info); Path addToStore(const Path & srcPath, - bool recursive = true, string hashAlgo = "sha256", + bool recursive = true, HashType hashAlgo = htSHA256, PathFilter & filter = defaultPathFilter); Path addTextToStore(const string & name, const string & s, |