|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
Classes | |
| struct | Names |
| struct | All |
Public Types | |
| typedef std::variant< All, Names > | Raw |
Public Member Functions | |
| GENERATE_CMP (OutputsSpec, me->raw) | |
| MAKE_WRAPPER_CONSTRUCTOR (OutputsSpec) | |
| OutputsSpec ()=delete | |
| bool | contains (const OutputName &output) const |
| OutputsSpec | union_ (const OutputsSpec &that) const |
| bool | isSubsetOf (const OutputsSpec &outputs) const |
| std::string | to_string () const |
Static Public Member Functions | |
| static OutputsSpec | parse (std::string_view s) |
| static std::optional< OutputsSpec > | parseOpt (std::string_view s) |
| static void | to_json (JSON &json, const OutputsSpec &t) |
| static OutputsSpec | from_json (const JSON &json) |
Public Attributes | |
| Raw | raw |
|
delete |
Force choosing a variant
| bool nix::OutputsSpec::isSubsetOf | ( | const OutputsSpec & | outputs | ) | const |
Whether this OutputsSpec is a subset of that.
|
static |
Parse a string of the form 'output1,...outputN' or '*', returning the outputs spec.
| OutputsSpec nix::OutputsSpec::union_ | ( | const OutputsSpec & | that | ) | const |
Create a new OutputsSpec which is the union of this and that.