diff options
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r-- | src/libstore/store-api.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index 0715f64f3..ea30ed105 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -813,21 +813,6 @@ Strings ValidPathInfo::shortRefs() const } -void Store::addToStore(const ValidPathInfo & info, Source & narSource, - RepairFlag repair, CheckSigsFlag checkSigs, - std::shared_ptr<FSAccessor> accessor) -{ - addToStore(info, make_ref<std::string>(narSource.drain()), repair, checkSigs, accessor); -} - -void Store::addToStore(const ValidPathInfo & info, const ref<std::string> & nar, - RepairFlag repair, CheckSigsFlag checkSigs, - std::shared_ptr<FSAccessor> accessor) -{ - StringSource source(*nar); - addToStore(info, source, repair, checkSigs, accessor); -} - } |