mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 12:06:01 +01:00
EvalState::copyPathToStore(): Return a StorePath
This commit is contained in:
parent
845fc3f605
commit
bda879170f
3 changed files with 17 additions and 16 deletions
|
|
@ -400,7 +400,7 @@ public:
|
|||
bool coerceMore = false, bool copyToStore = true,
|
||||
bool canonicalizePath = true);
|
||||
|
||||
std::string copyPathToStore(PathSet & context, const Path & path);
|
||||
StorePath copyPathToStore(PathSet & context, const Path & path);
|
||||
|
||||
/* Path coercion. Converts strings, paths and derivations to a
|
||||
path. The result is guaranteed to be a canonicalised, absolute
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue