Nix
2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Toggle main menu visibility
Loading...
Searching...
No Matches
path-with-outputs.hh
Go to the documentation of this file.
1
#pragma once
3
4
#include "
nix/store/path.hh
"
5
#include "
nix/store/derived-path.hh
"
6
7
namespace
nix {
8
9
struct
StoreDirConfig
;
10
19
struct
StorePathWithOutputs
20
{
21
StorePath
path;
22
StringSet
outputs;
23
24
std::string to_string(
const
StoreDirConfig
& store)
const
;
25
26
DerivedPath
toDerivedPath()
const
;
27
28
typedef
std::variant<StorePathWithOutputs, StorePath, std::monostate> ParseResult;
29
30
static
StorePathWithOutputs::ParseResult tryFromDerivedPath(
const
DerivedPath
&);
31
};
32
33
std::vector<DerivedPath> toDerivedPaths(
const
std::vector<StorePathWithOutputs>);
34
35
std::pair<std::string_view, StringSet> parsePathWithOutputs(std::string_view s);
36
42
StorePathWithOutputs
parsePathWithOutputs(
const
StoreDirConfig
& store, std::string_view pathWithOutputs);
43
44
class
Store
;
45
46
StorePathWithOutputs
followLinksToStorePathWithOutputs(
const
Store
& store, std::string_view pathWithOutputs);
47
48
}
// namespace nix
nix::StorePath
Definition
path.hh:33
nix::Store
Definition
store-api.hh:397
derived-path.hh
path.hh
nix::DerivedPath
Definition
derived-path.hh:238
nix::StoreDirConfig
Definition
store-dir-config.hh:29
nix::StorePathWithOutputs
Definition
path-with-outputs.hh:20
nix::StringSet
std::set< std::string, std::less<> > StringSet
Definition
types.hh:45
libstore
include
nix
store
path-with-outputs.hh
Generated by
1.18.0