|
Flox Package Database 1
CRUD Operations on Nix Package Metadata
|
A set of user inputs used to set input preferences during search and resolution. More...
#include <algorithm>#include <functional>#include <map>#include <vector>#include <nix/fetchers.hh>#include <nix/flake/flakeref.hh>#include <nlohmann/json.hpp>#include "compat/concepts.hh"#include "flox/core/exceptions.hh"#include "flox/core/types.hh"#include "flox/core/util.hh"#include "flox/flox-flake.hh"#include "flox/pkgdb/pkg-query.hh"Go to the source code of this file.
Classes | |
| struct | flox::InputPreferences |
| Preferences associated with a registry input. More... | |
| struct | flox::RegistryInput |
| Preferences associated with a named registry input. More... | |
| class | flox::RegistryInputFactory |
| The simplest flox::RegistryInput factory which just copies inputs. More... | |
| struct | flox::RegistryRaw |
| A set of user inputs used to set input preferences during search and resolution. More... | |
| class | flox::FloxFlakeInput |
A simple flox::RegistryInput that opens a nix evaluator for a flake. More... | |
| class | flox::FloxFlakeInputFactory |
| A factory for flox::FloxFlakeInput objects. More... | |
| class | flox::FlakeRegistry |
A registry containing FloxFlakeInput members. More... | |
Namespaces | |
| namespace | flox |
Interfaces for use by flox. | |
Concepts | |
| concept | flox::input_preferences_typename |
| Restricts types to those which are derived from flox::InputPreferences. | |
| concept | flox::registry_input_factory |
| Restricts types to those which can construct flox::RegistryInput values. | |
Functions | |
| void | flox::from_json (const nlohmann::json &jfrom, InputPreferences &prefs) |
| Convert a JSON object to an flox::InputPreferences. | |
| void | flox::to_json (nlohmann::json &jto, const InputPreferences &prefs) |
| Convert an flox::InputPreferences to a JSON object. | |
| void | flox::from_json (const nlohmann::json &jfrom, RegistryInput &rip) |
| Convert a JSON object to a flox::RegistryInput. | |
| void | flox::to_json (nlohmann::json &jto, const RegistryInput &rip) |
| Convert a flox::RegistryInput to a JSON object. | |
| void | flox::from_json (const nlohmann::json &jfrom, RegistryRaw ®) |
| Convert a JSON object to a flox::RegistryRaw. | |
| void | flox::to_json (nlohmann::json &jto, const RegistryRaw ®) |
| Convert a flox::RegistryRaw to a JSON object. | |
| RegistryRaw | flox::lockRegistry (const RegistryRaw &unlocked, const nix::ref< nix::Store > &store=NixStoreMixin().getStore()) |
| Lock an unlocked registry. | |
| RegistryRaw | flox::getGARegistry () |
Get a hard coded registry for use with flox's GA release. | |
A set of user inputs used to set input preferences during search and resolution.