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

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

#include <optional>
#include <string>
#include <string_view>
#include <vector>
#include <nlohmann/json.hpp>
#include "flox/core/types.hh"
#include "flox/package.hh"

Go to the source code of this file.

Classes

class  flox::RawPackage
 The simplest ‘Package’ implementation comprised of raw values. More...
 

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.