Nix 2.26.3
Nix, the purely functional 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, ExplicitRaw
 

Public Member Functions

bool operator== (const ExtendedOutputsSpec &) const =default
 
bool operator< (const ExtendedOutputsSpec &) const
 
 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)
 

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: