Flox Package Database 1
CRUD Operations on Nix Package Metadata
|
An abstract description of an environment in its unresolved state. This file contains the implementation of the flox::resolver::ManifestRaw struct, and associated JSON parsers. More...
#include <algorithm>
#include <map>
#include <optional>
#include <string>
#include <string_view>
#include <unordered_map>
#include <utility>
#include <vector>
#include <nix/fetchers.hh>
#include <nix/flake/flakeref.hh>
#include <nix/ref.hh>
#include <nlohmann/json.hpp>
#include "flox/core/types.hh"
#include "flox/core/util.hh"
#include "flox/pkgdb/pkg-query.hh"
#include "flox/registry.hh"
#include "flox/resolver/descriptor.hh"
#include "flox/resolver/manifest-raw.hh"
Namespaces | |
namespace | flox |
Interfaces for use by flox . | |
Functions | |
static void | flox::resolver::from_json (const nlohmann::json &jfrom, Options::Semver &semver) |
static void | flox::resolver::to_json (nlohmann::json &jto, const Options::Semver &semver) |
static void | flox::resolver::from_json (const nlohmann::json &jfrom, Options::Allows &allow) |
static void | flox::resolver::to_json (nlohmann::json &jto, const Options::Allows &allow) |
void | flox::resolver::from_json (const nlohmann::json &jfrom, Options &opts) |
Convert a JSON object to a flox::resolver::Options. | |
void | flox::resolver::to_json (nlohmann::json &jto, const Options &opts) |
Convert a flox::resolver::Options to a JSON Object. | |
void | flox::resolver::from_json (const nlohmann::json &jfrom, GlobalManifestRaw &manifest) |
Convert a JSON object to a flox::resolver::GlobalManifestRaw. | |
void | flox::resolver::to_json (nlohmann::json &jto, const GlobalManifestRaw &manifest) |
Convert a flox::resolver::GlobalManifestRaw to a JSON object. | |
static void | flox::resolver::from_json (const nlohmann::json &jfrom, EnvBaseRaw &env) |
static void | flox::resolver::to_json (nlohmann::json &jto, const EnvBaseRaw &env) |
static void | flox::resolver::from_json (const nlohmann::json &jfrom, HookRaw &hook) |
static void | flox::resolver::to_json (nlohmann::json &jto, const HookRaw &hook) |
static std::unordered_map< std::string, std::optional< ManifestDescriptorRaw > > | flox::resolver::installFromJSON (const nlohmann::json &install) |
static std::unordered_map< std::string, std::string > | flox::resolver::varsFromJSON (const nlohmann::json &jfrom) |
void | flox::resolver::from_json (const nlohmann::json &jfrom, ManifestRaw &manifest) |
Convert a JSON object to a flox::resolver::ManifestRaw. | |
void | flox::resolver::to_json (nlohmann::json &jto, const ManifestRaw &manifest) |
Convert a flox::resolver::ManifestRaw to a JSON object. | |
void | flox::resolver::from_json (const nlohmann::json &jfrom, GlobalManifestRawGA &manifest) |
Convert a JSON object to a flox::resolver::GlobalManifestRawGA. | |
void | flox::resolver::to_json (nlohmann::json &jto, const GlobalManifestRawGA &manifest) |
Convert a flox::resolver::GlobalManifestRawGA to a JSON object. | |
void | flox::resolver::from_json (const nlohmann::json &jfrom, ManifestRawGA &manifest) |
Convert a JSON object to a flox::resolver::ManifestRawGA. | |
void | flox::resolver::to_json (nlohmann::json &jto, const ManifestRawGA &manifest) |
Convert a flox::resolver::ManifestRawGA to a JSON object. | |
An abstract description of an environment in its unresolved state. This file contains the implementation of the flox::resolver::ManifestRaw struct, and associated JSON parsers.