Flox Package Database 1
CRUD Operations on Nix Package Metadata
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
flox::resolver::LockfileRaw Struct Reference

An environment lockfile in its raw form. More...

#include <lockfile.hh>

Public Member Functions

 LockfileRaw (const LockfileRaw &)=default
 
 LockfileRaw (LockfileRaw &&)=default
 
LockfileRawoperator= (const LockfileRaw &)=default
 
LockfileRawoperator= (LockfileRaw &&)=default
 
void check () const
 Check the lockfile for validity, throw and exception if it is invalid.
 
void clear ()
 Reset to default/empty state.
 

Public Attributes

ManifestRaw manifest
 
RegistryRaw registry
 
std::unordered_map< System, SystemPackages > packages
 
unsigned lockfileVersion = 0
 

Detailed Description

An environment lockfile in its raw form.

This form is suitable for instantiating ( i.e., realizing ) an environment using mkEnv.

Member Function Documentation

◆ check()

void flox::resolver::LockfileRaw::check ( ) const

Check the lockfile for validity, throw and exception if it is invalid.

This checks that:

  • The lockfile version is supported.

The documentation for this struct was generated from the following files: