1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-01 12:37:59 +02:00

Move StorePathWithOutputs into its own header/file

In the following commits it will become less prevalent.
This commit is contained in:
John Ericson 2021-03-02 00:47:00 +00:00
parent f7d9f7c338
commit 7a2b566dc8
8 changed files with 55 additions and 40 deletions

View file

@ -69,16 +69,6 @@ typedef std::map<StorePath, std::optional<ContentAddress>> StorePathCAMap;
/* Extension of derivations in the Nix store. */
const std::string drvExtension = ".drv";
struct StorePathWithOutputs
{
StorePath path;
std::set<std::string> outputs;
std::string to_string(const Store & store) const;
};
std::pair<std::string_view, StringSet> parsePathWithOutputs(std::string_view s);
}
namespace std {