mirror of
https://github.com/NixOS/nix
synced 2025-07-01 16:41:47 +02:00
Remove now-redundant text-hashing store methods
`addTextToStore` and `computeStorePathFromDump` are now redundant. Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
dfc876531f
commit
ed26b186fb
18 changed files with 83 additions and 212 deletions
|
@ -468,16 +468,6 @@ public:
|
|||
RepairFlag repair = NoRepair)
|
||||
{ unsupported("addToStoreFromDump"); }
|
||||
|
||||
/**
|
||||
* Like addToStore, but the contents written to the output path is a
|
||||
* regular file containing the given string.
|
||||
*/
|
||||
virtual StorePath addTextToStore(
|
||||
std::string_view name,
|
||||
std::string_view s,
|
||||
const StorePathSet & references,
|
||||
RepairFlag repair = NoRepair) = 0;
|
||||
|
||||
/**
|
||||
* Add a mapping indicating that `deriver!outputName` maps to the output path
|
||||
* `output`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue