|
BuildCache
|
BuildCachce configuration options. More...
Enumerations | |
| enum | cache_accuracy_t { cache_accuracy_t::SLOPPY, cache_accuracy_t::DEFAULT, cache_accuracy_t::STRICT } |
| The cache accuracy. More... | |
| enum | compress_format_t { compress_format_t::LZ4, compress_format_t::ZSTD, compress_format_t::DEFAULT } |
| The compression format. More... | |
Functions | |
| std::string | to_string (const cache_accuracy_t accuracy) |
| Convert a cache accuracy enum value to a string. More... | |
| std::string | to_string (const compress_format_t format) |
| Convert a compression format enum value to a string. More... | |
| void | init () |
| Initialize the configuration based on environment variables etc. | |
| const std::string & | config_file () |
| cache_accuracy_t | accuracy () |
| bool | cache_link_commands () |
| bool | compress () |
| compress_format_t | compress_format () |
| int32_t | compress_level () |
| int32_t | debug () |
| const std::string & | dir () |
| bool | direct_mode () |
| bool | disable () |
| bool | hard_links () |
| string_list_t | hash_extra_files () |
| const std::string & | impersonate () |
| const std::string & | log_file () |
| const string_list_t & | lua_paths () |
| int64_t | max_cache_size () |
| int64_t | max_local_entry_size () |
| int64_t | max_remote_entry_size () |
| bool | perf () |
| const std::string & | prefix () |
| bool | read_only () |
| bool | read_only_remote () |
| const std::string & | remote () |
| bool | remote_locks () |
| const std::string & | s3_access () |
| const std::string & | s3_secret () |
| bool | terminate_on_miss () |
BuildCachce configuration options.
Configuration options are gathered during program startup, and they can be queried via the functions in the config namespace (which acts as a sigleton).
|
strong |
|
strong |
| cache_accuracy_t bcache::config::accuracy | ( | ) |
| bool bcache::config::cache_link_commands | ( | ) |
| bool bcache::config::compress | ( | ) |
| compress_format_t bcache::config::compress_format | ( | ) |
| int32_t bcache::config::compress_level | ( | ) |
| const std::string & bcache::config::config_file | ( | ) |
| int32_t bcache::config::debug | ( | ) |
| const std::string & bcache::config::dir | ( | ) |
| bool bcache::config::direct_mode | ( | ) |
| bool bcache::config::disable | ( | ) |
| bool bcache::config::hard_links | ( | ) |
| string_list_t bcache::config::hash_extra_files | ( | ) |
| const std::string & bcache::config::impersonate | ( | ) |
| const std::string & bcache::config::log_file | ( | ) |
| const string_list_t & bcache::config::lua_paths | ( | ) |
| int64_t bcache::config::max_cache_size | ( | ) |
| int64_t bcache::config::max_local_entry_size | ( | ) |
| int64_t bcache::config::max_remote_entry_size | ( | ) |
| bool bcache::config::perf | ( | ) |
| const std::string & bcache::config::prefix | ( | ) |
| bool bcache::config::read_only | ( | ) |
| bool bcache::config::read_only_remote | ( | ) |
| const std::string & bcache::config::remote | ( | ) |
| bool bcache::config::remote_locks | ( | ) |
| const std::string & bcache::config::s3_access | ( | ) |
| const std::string & bcache::config::s3_secret | ( | ) |
| bool bcache::config::terminate_on_miss | ( | ) |
| std::string bcache::config::to_string | ( | const cache_accuracy_t | accuracy | ) |
Convert a cache accuracy enum value to a string.
| accuracy | The cache accuracy. |
| std::string bcache::config::to_string | ( | const compress_format_t | format | ) |
Convert a compression format enum value to a string.
| format | The compression format. |
1.8.17