1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-11 13:06:01 +01: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

@ -0,0 +1,17 @@
#pragma once
#include "path.hh"
namespace nix {
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);
}