Flox Package Database 1
CRUD Operations on Nix Package Metadata
|
A global manifest containing only registry
and options
fields in its raw form. This form is limited to only the options
field ( dropping registry
) for use with flox
's GA release.
More...
#include <manifest-raw.hh>
Public Member Functions | |
GlobalManifestRawGA (const GlobalManifestRawGA &)=default | |
GlobalManifestRawGA (GlobalManifestRawGA &&)=default | |
GlobalManifestRawGA (std::optional< Options > options) | |
GlobalManifestRawGA & | operator= (const GlobalManifestRawGA &)=default |
GlobalManifestRawGA & | operator= (GlobalManifestRawGA &&)=default |
virtual void | check () const |
Validate manifest fields, throwing an exception if its contents are invalid. | |
virtual void | clear () |
operator GlobalManifestRaw () const | |
operator ManifestRaw () const | |
Public Attributes | |
std::optional< Options > | options |
Options controlling environment and search behaviors. | |
A global manifest containing only registry
and options
fields in its raw form. This form is limited to only the options
field ( dropping registry
) for use with flox
's GA release.
This raw struct is defined to generate parsers, and its declarations simply represent what is considered valid. On its own, it performs no real work, other than to validate the input.
|
inlinevirtual |
Validate manifest fields, throwing an exception if its contents are invalid.
Reimplemented in flox::resolver::ManifestRawGA.