![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <store-api.hh>
Additional Inherited Members | |
| Public Member Functions inherited from nix::BaseSetting< std::string > | |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| void | convertToArg (Args &args, const std::string &category) |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| void | convertToArg (Args &args, const std::string &category) |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| std::string | to_string () const |
| void | convertToArg (Args &args, const std::string &category) |
| BaseSetting (const std::string &def, const bool documentDefault, const std::string &name, const std::string &description, const StringSet &aliases={}, std::optional< ExperimentalFeature > experimentalFeature=std::nullopt) | |
| operator const std::string & () const | |
| operator std::string & () | |
| const std::string & | get () const |
| bool | operator== (const U &v2) const |
| bool | operator!= (const U &v2) const |
| void | operator= (const U &v) |
| virtual void | assign (const std::string &v) |
| void | setDefault (const U &v) |
| void | set (const std::string &str, bool append=false) override final |
| bool | isAppendable () override final |
| virtual void | override (const std::string &v) |
| std::map< std::string, nlohmann::json > | toJSONObject () const override |
| Public Member Functions inherited from nix::AbstractSetting | |
| bool | isOverridden () const |
| virtual bool | excludedFromFullSerialisation () const |
| Public Attributes inherited from nix::AbstractSetting | |
| const std::string | name |
| const std::string | description |
| const StringSet | aliases |
| int | created = 123 |
| bool | overridden = false |
| std::optional< ExperimentalFeature > | experimentalFeature |
| Protected Member Functions inherited from nix::BaseSetting< std::string > | |
| Diagnose | parse (const std::string &str) const |
| EvalProfilerMode | parse (const std::string &str) const |
| SandboxMode | parse (const std::string &str) const |
| PathsInChroot | parse (const std::string &str) const |
| LocalSettings::ExternalBuilders | parse (const std::string &str) const |
| void | appendOrSet (PathsInChroot newValue, bool append) |
| StoreReference | parse (const std::string &str) const |
| std::vector< StoreReference > | parse (const std::string &str) const |
| void | appendOrSet (std::vector< StoreReference > newValue, bool append) |
| std::set< StoreReference > | parse (const std::string &str) const |
| void | appendOrSet (std::set< StoreReference > newValue, bool append) |
| SandboxMode | parse (const std::string &str) const |
| PathsInChroot | parse (const std::string &str) const |
| void | appendOrSet (PathsInChroot newValue, bool append) |
| LocalSettings::ExternalBuilders | parse (const std::string &str) const |
| S3AddressingStyle | parse (const std::string &str) const |
| CompressionAlgo | parse (const std::string &str) const |
| std::optional< CompressionAlgo > | parse (const std::string &str) const |
| std::string | parse (const std::string &str) const |
| std::optional< std::string > | parse (const std::string &str) const |
| bool | parse (const std::string &str) const |
| std::list< std::filesystem::path > | parse (const std::string &str) const |
| Strings | parse (const std::string &str) const |
| void | appendOrSet (std::list< std::filesystem::path > newValue, bool append) |
| void | appendOrSet (Strings newValue, bool append) |
| StringSet | parse (const std::string &str) const |
| void | appendOrSet (StringSet newValue, bool append) |
| std::set< std::filesystem::path > | parse (const std::string &str) const |
| void | appendOrSet (std::set< std::filesystem::path > newValue, bool append) |
| std::set< ExperimentalFeature > | parse (const std::string &str) const |
| void | appendOrSet (std::set< ExperimentalFeature > newValue, bool append) |
| StringMap | parse (const std::string &str) const |
| void | appendOrSet (StringMap newValue, bool append) |
| std::filesystem::path | parse (const std::string &str) const |
| AbsolutePath | parse (const std::string &str) const |
| std::optional< AbsolutePath > | parse (const std::string &str) const |
| void | appendOrSet (Strings newValue, bool append) |
| void | appendOrSet (StringSet newValue, bool append) |
| void | appendOrSet (StringMap newValue, bool append) |
| void | appendOrSet (std::set< ExperimentalFeature > newValue, bool append) |
| void | appendOrSet (std::set< std::filesystem::path > newValue, bool append) |
| Protected Member Functions inherited from nix::AbstractSetting | |
| AbstractSetting (const std::string &name, const std::string &description, const StringSet &aliases, std::optional< ExperimentalFeature > experimentalFeature=std::nullopt) | |
| nlohmann::json | toJSON () |
| Protected Attributes inherited from nix::BaseSetting< std::string > | |
| std::string | value |
| const std::string | defaultValue |
| const bool | documentDefault |
A setting for the Nix store directory. Automatically canonicalises the path and rejects the empty string. Stored as std::string because store directory are valid file paths on some OS, but not necessarily the OS of this build of Nix.
(For example, consider SSHStore from Linux to Windows, or vice versa, the foreign path will not be a valid std::filesystem::path.)