Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::StoreFactory Struct Reference

Public Attributes

std::string doc
StringSet uriSchemes
std::optional< ExperimentalFeature > experimentalFeature
fun< ref< StoreConfig >(std::string_view scheme, std::string_view authorityPath, const Store::Config::Params &params)> parseConfig
fun< ref< StoreConfig >()> getConfig

Member Data Documentation

◆ doc

std::string nix::StoreFactory::doc

Documentation for this type of store.

◆ experimentalFeature

std::optional<ExperimentalFeature> nix::StoreFactory::experimentalFeature

An experimental feature this type store is gated, if it is to be experimental.

◆ getConfig

fun<ref<StoreConfig>()> nix::StoreFactory::getConfig

Just for dumping the defaults. Kind of awkward this exists, because it means we cannot require fields to be manually specified so easily.

◆ parseConfig

fun<ref<StoreConfig>(std::string_view scheme, std::string_view authorityPath, const Store::Config::Params & params)> nix::StoreFactory::parseConfig

The authorityPath parameter is <authority>/<path>, or really whatever comes after <scheme>:// and before ?<query-params>.

◆ uriSchemes

StringSet nix::StoreFactory::uriSchemes

URIs with these schemes should be handled by this factory


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