mirror of
https://github.com/NixOS/nix
synced 2025-06-28 13:41:15 +02:00
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.
This commit is contained in:
parent
f60ce4fa20
commit
fac0c2d54a
7 changed files with 20 additions and 29 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue