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

Public Member Functions

std::optional< std::filesystem::path > getGlobalManifestPath ()
 If global-manifest is inlined or unset, returns std::nullopt. Otherwise returns the path to the global manifest.
 
std::optional< flox::resolver::GlobalManifestRawgetGlobalManifestRaw ()
 Returns a flox::resolver::GlobalManifestRaw or lazily loads it from disk ( if provided ).
 
std::optional< std::filesystem::path > getManifestPath ()
 If manifest is inlined or unset, returns std::nullopt. Otherwise returns the path to the manifest.
 
flox::resolver::ManifestRaw getManifestRaw ()
 Returns a flox::resolver::ManifestRaw or lazily loads it from disk. If manifestPath is unset, this returns an empty manifest.
 
std::optional< std::filesystem::path > getLockfilePath ()
 If lockfile is inlined or unset, returns std::nullopt. Otherwise returns the path to the lockfile.
 
std::optional< flox::resolver::LockfileRawgetLockfileRaw ()
 Returns a flox::resolver::LockfileRaw or lazily loads it from disk ( if provided ).
 

Public Attributes

std::optional< std::variant< std::filesystem::path, resolver::GlobalManifestRaw > > globalManifest
 The absolute std::filesystem::path to a manifest file or an inline flox::resolver::GlobalManifestRaw.
 
std::optional< std::variant< std::filesystem::path, resolver::ManifestRaw > > manifest
 The absolute std::filesystem::path to a manifest file or an inline flox::resolver::ManifestRaw.
 
std::optional< std::variant< std::filesystem::path, resolver::LockfileRaw > > lockfile
 The absolute std::filesystem::path to a lockfile or an inline flox::resolver::LockfileRaw.
 
SearchQuery query
 The flox::search::SearchQuery specifying the package to search for.
 

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