|
Flox Package Database 1
CRUD Operations on Nix Package Metadata
|
A lockfile representing a resolved environment. More...
#include <unordered_map>#include <nlohmann/json.hpp>#include "flox/core/exceptions.hh"#include "flox/core/types.hh"#include "flox/pkgdb/input.hh"#include "flox/pkgdb/read.hh"#include "flox/registry.hh"#include "flox/resolver/manifest.hh"Go to the source code of this file.
Classes | |
| struct | flox::resolver::LockedPackageRaw |
| A locked package's installable URI. More... | |
| struct | flox::resolver::LockfileRaw |
| An environment lockfile in its raw form. More... | |
| class | flox::resolver::Lockfile |
| A locked representation of an environment. More... | |
Namespaces | |
| namespace | flox |
Interfaces for use by flox. | |
Typedefs | |
| using | flox::resolver::SystemPackages = std::unordered_map< InstallID, std::optional< LockedPackageRaw > > |
Functions | |
| void | flox::resolver::from_json (const nlohmann::json &jfrom, LockedInputRaw &raw) |
| Convert a JSON object to a flox::resolver::LockedInputRaw. | |
| void | flox::resolver::to_json (nlohmann::json &jto, const LockedInputRaw &raw) |
| Convert a flox::resolver::LockedInputRaw to a JSON object. | |
| std::ostream & | flox::resolver::operator<< (std::ostream &oss, const LockedInputRaw &raw) |
| Print a locked input's to an output stream as a JSON object. | |
| void | flox::resolver::from_json (const nlohmann::json &jfrom, LockedPackageRaw &raw) |
| Convert a JSON object to a flox::resolver::LockedPackageRaw. | |
| void | flox::resolver::to_json (nlohmann::json &jto, const LockedPackageRaw &raw) |
| Convert a flox::resolver::LockedPackageRaw to a JSON object. | |
| std::ostream & | flox::resolver::operator<< (std::ostream &oss, const LockedPackageRaw &raw) |
| Print a locked package to an output stream as a JSON object. | |
| void | flox::resolver::from_json (const nlohmann::json &jfrom, LockfileRaw &raw) |
| Convert a JSON object to a flox::resolver::LockfileRaw. | |
| void | flox::resolver::to_json (nlohmann::json &jto, const LockfileRaw &raw) |
| Convert a flox::resolver::LockfileRaw to a JSON object. | |
A lockfile representing a resolved environment.
This lockfile is processed by mkEnv to realize an environment.