Flox Package Database 1
CRUD Operations on Nix Package Metadata
Loading...
Searching...
No Matches
Namespaces | Functions
raw-package.cc File Reference

The simplest ‘Package’ implementation comprised of raw values. More...

#include <string>
#include <string_view>
#include <nlohmann/json.hpp>
#include "flox/core/util.hh"
#include "flox/pkgdb/read.hh"
#include "flox/raw-package.hh"

Namespaces

namespace  flox
 Interfaces for use by flox.
 

Functions

void flox::from_json (const nlohmann::json &jfrom, RawPackage &pkg)
 Convert a JSON object to a flox::RawPackage.
 
void flox::to_json (nlohmann::json &jto, const flox::RawPackage &pkg)
 Convert a flox::RawPackage to a JSON object.
 

Detailed Description

The simplest ‘Package’ implementation comprised of raw values.