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:
parent
e34fe47d0c
commit
c602ebfb34
3 changed files with 53 additions and 42 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue