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

An abstract description of an environment in its unresolved state. More...

#include <filesystem>
#include <optional>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
#include <nix/config.hh>
#include <nix/globals.hh>
#include <nix/ref.hh>
#include "compat/concepts.hh"
#include "flox/core/nix-state.hh"
#include "flox/core/types.hh"
#include "flox/pkgdb/pkg-query.hh"
#include "flox/registry.hh"
#include "flox/resolver/manifest-raw.hh"

Go to the source code of this file.

Classes

class  flox::resolver::ManifestBase< RawType >
 A global manifest containing only registry and options fields. More...
 
class  flox::resolver::GlobalManifestBase< RawType >
 
class  flox::resolver::EnvironmentManifestBase< RawType >
 Description of an environment in its unlocked form. More...
 

Namespaces

namespace  flox
 Interfaces for use by flox.
 

Typedefs

using flox::resolver::GlobalManifest = GlobalManifestBase< GlobalManifestRaw >
 
using flox::resolver::GlobalManifestGA = GlobalManifestBase< GlobalManifestRawGA >
 
using flox::resolver::InstallDescriptors = std::unordered_map< InstallID, ManifestDescriptor >
 A map of install IDs to manifest descriptors.
 
using flox::resolver::EnvironmentManifest = EnvironmentManifestBase< ManifestRaw >
 
using flox::resolver::EnvironmentManifestGA = EnvironmentManifestBase< ManifestRawGA >
 

Functions

template<manifest_raw_type RawType>
static RawType flox::resolver::readManifestFromPath (const std::filesystem::path &manifestPath)
 Read a flox::resolver::ManifestBase from a file.
 
std::vector< InstallDescriptors > flox::resolver::getGroupedDescriptors (const InstallDescriptors &descriptors)
 Returns all descriptors, grouping those with a group field, and returning those without a group field as a map with a single element.
 

Detailed Description

An abstract description of an environment in its unresolved state.