|
virtual const std::string | name ()=0 |
|
virtual std::string | doc () |
|
virtual std::optional< ExperimentalFeature > | experimentalFeature () const |
|
| StoreDirConfig ()=delete |
|
StorePath | parseStorePath (std::string_view path) const |
|
std::optional< StorePath > | maybeParseStorePath (std::string_view path) const |
|
std::string | printStorePath (const StorePath &path) const |
|
StorePathSet | parseStorePathSet (const PathSet &paths) const |
|
PathSet | printStorePathSet (const StorePathSet &path) const |
|
std::string | showPaths (const StorePathSet &paths) |
|
bool | isInStore (PathView path) const |
|
bool | isStorePath (std::string_view path) const |
|
std::pair< StorePath, Path > | toStorePath (PathView path) const |
|
StorePath | makeStorePath (std::string_view type, std::string_view hash, std::string_view name) const |
|
StorePath | makeStorePath (std::string_view type, const Hash &hash, std::string_view name) const |
|
StorePath | makeOutputPath (std::string_view id, const Hash &hash, std::string_view name) const |
|
StorePath | makeFixedOutputPath (std::string_view name, const FixedOutputInfo &info) const |
|
StorePath | makeFixedOutputPathFromCA (std::string_view name, const ContentAddressWithReferences &ca) const |
|
std::pair< StorePath, Hash > | computeStorePath (std::string_view name, const SourcePath &path, ContentAddressMethod method=FileIngestionMethod::NixArchive, HashAlgorithm hashAlgo=HashAlgorithm::SHA256, const StorePathSet &references={}, PathFilter &filter=defaultPathFilter) const |
|
| Config (StringMap initials={}) |
|
| Config (StringMap initials={}) |
|
bool | set (const std::string &name, const std::string &value) override |
|
void | addSetting (AbstractSetting *setting) |
|
void | getSettings (std::map< std::string, SettingInfo > &res, bool overriddenOnly=false) override |
|
void | resetOverridden () override |
|
nlohmann::json | toJSON () override |
|
std::string | toKeyValue () override |
|
void | convertToArgs (Args &args, const std::string &category) override |
|
void | applyConfig (const std::string &contents, const std::string &path="<unknown>") |
|
void | warnUnknownSettings () |
|
void | reapplyUnknownSettings () |
|