mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 04:30:59 +01:00
wopAddToStore: add RepairFlag
This commit is contained in:
parent
fbf509c113
commit
7c68264085
3 changed files with 9 additions and 7 deletions
|
|
@ -63,7 +63,7 @@ public:
|
|||
void querySubstitutablePathInfos(const StorePathCAMap & paths,
|
||||
SubstitutablePathInfos & infos) override;
|
||||
|
||||
StorePath addCAToStore(Source & dump, const string & name, ContentAddressMethod caMethod, StorePathSet references);
|
||||
StorePath addCAToStore(Source & dump, const string & name, ContentAddressMethod caMethod, StorePathSet references, RepairFlag repair);
|
||||
|
||||
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