Flox Package Database 1
CRUD Operations on Nix Package Metadata
|
A lockfile representing a resolved environment. More...
#include <algorithm>
#include <nix/hash.hh>
#include "flox/core/util.hh"
#include "flox/resolver/lockfile.hh"
Namespaces | |
namespace | flox |
Interfaces for use by flox . | |
Functions | |
static LockfileRaw | flox::resolver::readLockfileFromPath (const std::filesystem::path &lockfilePath) |
Read a flox::resolver::Lockfile from a file. | |
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.