1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-27 04:30:59 +01:00

Refactor wopAddToStore to make wopAddTextToStore obsolete

This commit is contained in:
Robert Hensing 2020-09-17 20:19:15 +02:00
parent e34fe47d0c
commit c602ebfb34
3 changed files with 53 additions and 42 deletions

View file

@ -63,6 +63,8 @@ public:
void querySubstitutablePathInfos(const StorePathCAMap & paths,
SubstitutablePathInfos & infos) override;
StorePath addCAToStore(Source & dump, const string & name, ContentAddressMethod caMethod, StorePathSet references);
StorePath addToStoreFromDump(Source & dump, const string & name,
FileIngestionMethod method = FileIngestionMethod::Recursive, HashType hashAlgo = htSHA256, RepairFlag repair = NoRepair) override;