mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Add a copyStorePath() utility function
This commit is contained in:
parent
80f739b571
commit
dfebfc835f
5 changed files with 27 additions and 10 deletions
|
@ -502,6 +502,11 @@ Path computeStorePathForText(const string & name, const string & s,
|
|||
const PathSet & references);
|
||||
|
||||
|
||||
/* Copy a path from one store to another. */
|
||||
void copyStorePath(ref<Store> srcStore, ref<Store> dstStore,
|
||||
const Path & storePath);
|
||||
|
||||
|
||||
/* Remove the temporary roots file for this process. Any temporary
|
||||
root becomes garbage after this point unless it has been registered
|
||||
as a (permanent) root. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue