mirror of
https://github.com/NixOS/nix
synced 2025-06-29 14:53:16 +02:00
Document addCAToStore/addToStoreFromDump source drainage
Also checked that all usages satisfy the requirement and removed dead code.
This commit is contained in:
parent
fa08db5c4c
commit
ca30abb3fb
3 changed files with 4 additions and 9 deletions
|
@ -449,7 +449,8 @@ public:
|
|||
/* Like addToStore(), but the contents of the path are contained
|
||||
in `dump', which is either a NAR serialisation (if recursive ==
|
||||
true) or simply the contents of a regular file (if recursive ==
|
||||
false). */
|
||||
false).
|
||||
`dump` may be drained */
|
||||
// FIXME: remove?
|
||||
virtual StorePath addToStoreFromDump(Source & dump, const string & name,
|
||||
FileIngestionMethod method = FileIngestionMethod::Recursive, HashType hashAlgo = htSHA256, RepairFlag repair = NoRepair)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue