|
Flox Package Database 1
CRUD Operations on Nix Package Metadata
|
Extend a command's state blob with a single RegistryInput. More...
#include <command.hh>
Public Member Functions | |
| argparse::Argument & | addSubtreeArg (argparse::ArgumentParser &parser) |
| argparse::Argument & | addFlakeRefArg (argparse::ArgumentParser &parser) |
| const RegistryInput & | getRegistryInput () |
| Return the parsed RegistryInput. | |
Public Member Functions inherited from flox::NixState | |
| NixState ()=default | |
Construct NixState using the systems default nix store. | |
| NixState (nix::ref< nix::Store > &store) | |
Construct NixState from an existing store connection. | |
| nix::ref< nix::EvalState > | getState () |
Lazily open a nix evaluator. | |
Public Member Functions inherited from flox::NixStoreMixin | |
| NixStoreMixin (const NixStoreMixin &)=default | |
| NixStoreMixin (NixStoreMixin &&)=default | |
| NixStoreMixin & | operator= (const NixStoreMixin &)=default |
| NixStoreMixin & | operator= (NixStoreMixin &&)=default |
| NixStoreMixin (const nix::ref< nix::Store > &store) | |
Construct NixStoreMixin from an existing store connection. | |
| NixStoreMixin () | |
Construct NixStoreMixin using the systems default nix store. | |
| nix::ref< nix::Store > | getStore () |
Lazily open a nix store connection. | |
Protected Member Functions | |
| void | parseFlakeRef (const std::string &flakeRef) |
| Fill registryInput by parsing a flake ref. | |
Private Attributes | |
| RegistryInput | registryInput |
Extend a command's state blob with a single RegistryInput.
|
inline |
Return the parsed RegistryInput.
|
inlineprotected |
Fill registryInput by parsing a flake ref.
| flakeRef | A flake reference as a URL string or JSON attribute set. |