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

Update lockfile inputs. More...

#include <command.hh>

Inheritance diagram for flox::resolver::UpdateCommand:
flox::resolver::GAEnvironmentMixin

Public Member Functions

command::VerboseParsergetParser ()
 
int run ()
 Execute the update routine.
 
- Public Member Functions inherited from flox::resolver::GAEnvironmentMixin
argparse::Argument & addGARegistryOption (argparse::ArgumentParser &parser)
 Hard codes a manifest with only github:NixOS/nixpkgs/release-23.05 with --ga-registry.
 

Private Attributes

std::optional< std::string > inputName
 
command::VerboseParser parser
 

Additional Inherited Members

- Protected Member Functions inherited from flox::resolver::GAEnvironmentMixin
GlobalManifest initGlobalManifest (GlobalManifestRaw manifestRaw) override
 Initialize the globalManifest member variable. When --ga-registry is set it enforces a GA compliant manifest by disallowing registry in its input, and injects a hard coded registry.
 
EnvironmentManifest initManifest (ManifestRaw manifestRaw) override
 Initialize the manifest member variable. When --ga-registry is set it enforces a GA compliant manifest by disallowing registry in its input, and injects a hard coded registry.
 

Detailed Description

Update lockfile inputs.

Member Function Documentation

◆ run()

int flox::resolver::UpdateCommand::run ( )

Execute the update routine.

Returns
EXIT_SUCCESS or EXIT_FAILURE.

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