diff options
author | Robert Hensing <robert@roberthensing.nl> | 2020-09-18 11:58:45 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2020-09-21 07:55:47 +0200 |
commit | ca30abb3fb36440e5a13161c39647189036fc18f (patch) | |
tree | 885e4d276ce516c459e672fb6551d9ba19d89464 /src/libstore/build.cc | |
parent | fa08db5c4c92ed4674cfacd131d1b45906a9b146 (diff) |
Document addCAToStore/addToStoreFromDump source drainage
Also checked that all usages satisfy the requirement and
removed dead code.
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 6e55f83d5..061f07546 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -2949,14 +2949,6 @@ struct RestrictedStore : public LocalFSStore, public virtual RestrictedStoreConf goal.addDependency(info.path); } - StorePath addToStoreFromDump(Source & dump, const string & name, - FileIngestionMethod method = FileIngestionMethod::Recursive, HashType hashAlgo = htSHA256, RepairFlag repair = NoRepair) override - { - auto path = next->addToStoreFromDump(dump, name, method, hashAlgo, repair); - goal.addDependency(path); - return path; - } - StorePath addTextToStore(const string & name, const string & s, const StorePathSet & references, RepairFlag repair = NoRepair) override { |