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::EnvBaseRaw Struct Reference

Declares a base environment to extend. More...

#include <manifest-raw.hh>

Public Member Functions

void check () const
 Validate the env-base field, throwing an exception if invalid information is found.
 
void clear ()
 

Public Attributes

std::optional< std::string > floxhub
 
std::optional< std::string > dir
 

Detailed Description

Declares a base environment to extend.

Member Function Documentation

◆ check()

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

Validate the env-base field, throwing an exception if invalid information is found.

This asserts:

  • Only one of floxhub or dir is set.

Member Data Documentation

◆ dir

std::optional<std::string> flox::resolver::EnvBaseRaw::dir

Indicates a local directory with a .flox/ subdirectory to be extended.

◆ floxhub

std::optional<std::string> flox::resolver::EnvBaseRaw::floxhub

Indicates a remote URL to be extended.


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