mirror of
https://github.com/NixOS/nix
synced 2025-06-25 19:01:16 +02:00
Move StorePathWithOutputs
into its own header/file
In the following commits it will become less prevalent.
This commit is contained in:
parent
f7d9f7c338
commit
7a2b566dc8
8 changed files with 55 additions and 40 deletions
|
@ -53,13 +53,6 @@ StorePath Store::followLinksToStorePath(std::string_view path) const
|
|||
}
|
||||
|
||||
|
||||
StorePathWithOutputs Store::followLinksToStorePathWithOutputs(std::string_view path) const
|
||||
{
|
||||
auto [path2, outputs] = nix::parsePathWithOutputs(path);
|
||||
return StorePathWithOutputs { followLinksToStorePath(path2), std::move(outputs) };
|
||||
}
|
||||
|
||||
|
||||
/* Store paths have the following form:
|
||||
|
||||
<realized-path> = <store>/<h>-<name>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue