diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-05-29 16:19:48 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-05-29 17:02:32 -0400 |
commit | fac0c2d54a6b04175b40009506f2720d2594ed4e (patch) | |
tree | ef6ef3e0fee28a0a300e7e1197da1a5596c5a341 /src/libstore/binary-cache-store.hh | |
parent | f60ce4fa207a210e23a1142d3a8ead611526e6e1 (diff) |
Remove addToStore variant as requested by `FIXME`
The idea is it's always more flexible to consumer a `Source` than a
plain string, and it might even reduce memory consumption.
I also looked at `addToStoreFromDump` with its `// FIXME: remove?`, but
the worked needed for that is far more up for interpretation, so I
punted for now.
Diffstat (limited to 'src/libstore/binary-cache-store.hh')
-rw-r--r-- | src/libstore/binary-cache-store.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/binary-cache-store.hh b/src/libstore/binary-cache-store.hh index 4ff5609ed..52ef8aa7a 100644 --- a/src/libstore/binary-cache-store.hh +++ b/src/libstore/binary-cache-store.hh @@ -74,7 +74,7 @@ public: std::optional<StorePath> queryPathFromHashPart(const std::string & hashPart) override { unsupported("queryPathFromHashPart"); } - void addToStore(const ValidPathInfo & info, const ref<std::string> & nar, + void addToStore(const ValidPathInfo & info, Source & narSource, RepairFlag repair, CheckSigsFlag checkSigs, std::shared_ptr<FSAccessor> accessor) override; |