|
Flox Package Database 1
CRUD Operations on Nix Package Metadata
|
Description of an environment in its unlocked form. More...
#include <manifest.hh>
Public Member Functions | |
| EnvironmentManifestBase (const EnvironmentManifestBase &)=default | |
| EnvironmentManifestBase (EnvironmentManifestBase &&)=default | |
| EnvironmentManifestBase (RawType raw) | |
| EnvironmentManifestBase (const std::filesystem::path &manifestPath) | |
| EnvironmentManifestBase & | operator= (const EnvironmentManifestBase &)=default |
| EnvironmentManifestBase & | operator= (EnvironmentManifestBase &&)=default |
| const InstallDescriptors & | getDescriptors () const |
| Get descriptors from the manifest's ‘install’ field. | |
| std::vector< InstallDescriptors > | getGroupedDescriptors () const |
| Returns all descriptors, grouping those with a group field, and returning those without a group field as a map with a single element. | |
Public Member Functions inherited from flox::resolver::ManifestBase< RawType > | |
| ManifestBase (const ManifestBase &)=default | |
| ManifestBase (ManifestBase &&) noexcept=default | |
| ManifestBase (RawType raw) | |
| ManifestBase (const std::filesystem::path &manifestPath) | |
| ManifestBase & | operator= (const ManifestBase &)=default |
| ManifestBase & | operator= (ManifestBase &&) noexcept=default |
| const RawType & | getManifestRaw () const |
| const RegistryRaw & | getRegistryRaw () const |
| RegistryRaw | getLockedRegistry (const nix::ref< nix::Store > &store=NixStoreMixin().getStore()) const |
| std::vector< System > | getSystems () const |
| Get the list of systems requested by the manifest. | |
| pkgdb::PkgQueryArgs | getBaseQueryArgs () const |
Private Member Functions | |
| void | check () const |
| Assert the validity of the manifest, throwing an exception if it contains invalid fields. | |
| void | initDescriptors () |
| Initialize descriptors from manifestRaw. | |
Private Attributes | |
| InstallDescriptors | descriptors |
Additional Inherited Members | |
Public Types inherited from flox::resolver::ManifestBase< RawType > | |
| using | rawType = RawType |
Protected Member Functions inherited from flox::resolver::ManifestBase< RawType > | |
| template<manifest_raw_type _RawType = RawType> | |
| std::enable_if< std::derived_from< _RawType, GlobalManifestRaw >, void >::type | initRegistry () |
| Initialize registryRaw from manifestRaw. | |
| template<manifest_raw_type _RawType = RawType> | |
| std::enable_if< std::derived_from< _RawType, GlobalManifestRawGA >, void >::type | initRegistry () |
| Initialize registryRaw from manifestRaw. | |
Protected Attributes inherited from flox::resolver::ManifestBase< RawType > | |
| RawType | manifestRaw |
| RegistryRaw | registryRaw |
Description of an environment in its unlocked form.
|
inlineprivate |
Assert the validity of the manifest, throwing an exception if it contains invalid fields.
This checks that:
install.<IID>.systems is set, then options.systems is also set.install.<IID>.systems are in options.systems.
|
private |
A map of install ID to descriptors, being descriptions/requirements of a dependency.