Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::ExtendedOutputsSpec Struct Reference

Classes

struct  Default

Public Types

using Explicit = OutputsSpec
typedef std::variant< Default, Explicit > Raw

Public Member Functions

 GENERATE_CMP (ExtendedOutputsSpec, me->raw)
 MAKE_WRAPPER_CONSTRUCTOR (ExtendedOutputsSpec)
 ExtendedOutputsSpec ()=delete
std::string to_string () const

Static Public Member Functions

static std::pair< std::string_view, ExtendedOutputsSpecparse (std::string_view s)
static std::optional< std::pair< std::string_view, ExtendedOutputsSpec > > parseOpt (std::string_view s)
static void to_json (JSON &json, const ExtendedOutputsSpec &spec)
static ExtendedOutputsSpec from_json (const JSON &t)

Public Attributes

Raw raw

Constructor & Destructor Documentation

◆ ExtendedOutputsSpec()

nix::ExtendedOutputsSpec::ExtendedOutputsSpec ( )
delete

Force choosing a variant

Member Function Documentation

◆ parse()

std::pair< std::string_view, ExtendedOutputsSpec > nix::ExtendedOutputsSpec::parse ( std::string_view s)
static

Parse a string of the form 'prefix^output1,...outputN' or 'prefix^*', returning the prefix and the extended outputs spec.


The documentation for this struct was generated from the following files: