diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2021-03-02 00:47:00 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2021-04-05 08:31:37 -0400 |
commit | 7a2b566dc8f0f94fdd6acbce90e47cd967f9f134 (patch) | |
tree | ebad2aae171ef7f10beca31e919301bb81ec2a69 /src/libstore/store-api.cc | |
parent | f7d9f7c3381acef38e4db2bb2f9e0287c289be54 (diff) |
Move `StorePathWithOutputs` into its own header/file
In the following commits it will become less prevalent.
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r-- | src/libstore/store-api.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index 5e321cedf..e3500872c 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -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> |