mirror of
https://github.com/NixOS/nix.git
synced 2025-11-19 08:49:35 +01:00
Crudely make addToStoreFromDump take Source not string
I just as little beyond the type as possible, so the implementation changes this enables can be reviewed separately.
This commit is contained in:
parent
9ec10046e0
commit
c86fc3a965
5 changed files with 11 additions and 5 deletions
|
|
@ -153,7 +153,7 @@ public:
|
|||
in `dump', which is either a NAR serialisation (if recursive ==
|
||||
true) or simply the contents of a regular file (if recursive ==
|
||||
false). */
|
||||
StorePath addToStoreFromDump(const string & dump, const string & name,
|
||||
StorePath addToStoreFromDump(Source & dump, const string & name,
|
||||
FileIngestionMethod method = FileIngestionMethod::Recursive, HashType hashAlgo = htSHA256, RepairFlag repair = NoRepair) override;
|
||||
|
||||
StorePath addTextToStore(const string & name, const string & s,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue