14 std::pair<std::string, StorePath> output;
18 std::string to_string(
const Store & store)
const;
20 kj::Promise<Result<JSON>> toJSON(
const Store & store)
const;
25namespace built_path::detail {
26using SingleBuiltPathRaw = std::variant<
33 using Raw = built_path::detail::SingleBuiltPathRaw;
39 inline const Raw & raw()
const {
40 return static_cast<const Raw &
>(*this);
48 kj::Promise<Result<JSON>> toJSON(
const Store & store)
const;
53 return make_ref<SingleBuiltPath>(SingleBuiltPath::Opaque { drvPath });
63 std::map<std::string, StorePath> outputs;
65 std::string to_string(
const Store & store)
const;
67 kj::Promise<Result<JSON>> toJSON(
const Store & store)
const;
72namespace built_path::detail {
73using BuiltPathRaw = std::variant<
83struct BuiltPath : built_path::detail::BuiltPathRaw {
84 using Raw = built_path::detail::BuiltPathRaw;
90 inline const Raw & raw()
const {
91 return static_cast<const Raw &
>(*this);
94 StorePathSet outPaths()
const;
95 kj::Promise<Result<RealisedPath::Set>> toRealisedPaths(
Store & store)
const;
97 kj::Promise<Result<JSON>> toJSON(
const Store & store)
const;
100typedef std::vector<BuiltPath> BuiltPaths;
Definition store-api.hh:195
#define DECLARE_CMP(my_type)
Definition comparator.hh:33
Definition built-path.hh:61
Definition built-path.hh:83
Definition derived-path.hh:26
Definition built-path.hh:12
Definition built-path.hh:32
Definition derived-path.hh:45
Definition derived-path.hh:101