Flox Package Database 1
CRUD Operations on Nix Package Metadata
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
flox::RegistryInput Struct Reference

Preferences associated with a named registry input. More...

#include <registry.hh>

Inheritance diagram for flox::RegistryInput:
flox::InputPreferences flox::FloxFlakeInput flox::pkgdb::PkgDbInput

Public Member Functions

 RegistryInput (const std::optional< std::vector< Subtree > > &subtrees, const nix::FlakeRef &from)
 
 RegistryInput (const nix::FlakeRef &from)
 
nix::ref< nix::FlakeRef > getFlakeRef () const
 Get the flake reference associated with this input.
 
bool operator== (const RegistryInput &other) const
 
bool operator!= (const RegistryInput &other) const
 
- Public Member Functions inherited from flox::InputPreferences
 InputPreferences (const InputPreferences &)=default
 
 InputPreferences (InputPreferences &&)=default
 
InputPreferencesoperator= (const InputPreferences &)=default
 
InputPreferencesoperator= (InputPreferences &&)=default
 
 InputPreferences (const std::optional< std::vector< Subtree > > &subtrees)
 
virtual void clear ()
 Reset to default state.
 
pkgdb::PkgQueryArgs & fillPkgQueryArgs (pkgdb::PkgQueryArgs &pqa) const
 Fill a flox::pkgdb::PkgQueryArgs struct with preferences to lookup packages filtered by InputPreferences requirements.
 
void merge (const InputPreferences &overrides)
 Merges this flox::InputPreferences with another InputPreferences, overriding values in this InputPreferences with those from the other InputPreferences.
 
bool operator== (const InputPreferences &other) const
 
bool operator!= (const InputPreferences &other) const
 

Public Attributes

std::shared_ptr< nix::FlakeRef > from
 
- Public Attributes inherited from flox::InputPreferences
std::optional< std::vector< Subtree > > subtrees
 

Detailed Description

Preferences associated with a named registry input.

Member Data Documentation

◆ from

std::shared_ptr<nix::FlakeRef> flox::RegistryInput::from

A parsed flake reference.


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