aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/store-api.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-06-02 15:39:07 +0200
committerGitHub <noreply@github.com>2020-06-02 15:39:07 +0200
commitbfa1acd85c4d15c5ea95337138f47672659e2a9e (patch)
tree0baf08df6b477c4368861d439ceddf20fdb5fef6 /src/libstore/store-api.cc
parentc16fdda3a6f647efe83faf874df3c1fee10c88bc (diff)
parentfac0c2d54a6b04175b40009506f2720d2594ed4e (diff)
Merge pull request #3639 from obsidiansystems/do-fixme-store-removes
Remove `addToStore` variant as requested by `FIXME`
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r--src/libstore/store-api.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc
index d479b86cb..095363d0c 100644
--- a/src/libstore/store-api.cc
+++ b/src/libstore/store-api.cc
@@ -840,21 +840,6 @@ std::string makeFixedOutputCA(FileIngestionMethod recursive, const Hash & hash)
}
-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);
-}
-
}