Flox Package Database 1
CRUD Operations on Nix Package Metadata
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
flox::pkgdb::PkgDbInputFactory Class Reference

Factory for PkgDbInput. More...

#include <input.hh>

Public Types

using input_type = PkgDbInput
 

Public Member Functions

 PkgDbInputFactory (nix::ref< nix::Store > &store, std::filesystem::path cacheDir=getPkgDbCachedir())
 Construct a factory using a nix evaluator.
 
std::shared_ptr< PkgDbInputmkInput (const std::string &name, const RegistryInput &input)
 Construct an input from a RegistryInput.
 

Private Attributes

nix::ref< nix::Store > store
 
std::filesystem::path cacheDir
 

Detailed Description

Factory for PkgDbInput.

Member Data Documentation

◆ cacheDir

std::filesystem::path flox::pkgdb::PkgDbInputFactory::cacheDir
private

Cache directory.

◆ store

nix::ref<nix::Store> flox::pkgdb::PkgDbInputFactory::store
private

nix store connection.


The documentation for this class was generated from the following file: