Subversion
|
Data Structures | |
struct | svn_cache_config_t |
Cache resource settings. More... | |
Typedefs | |
typedef struct svn_cache_config_t | svn_cache_config_t |
Cache resource settings. More... | |
Functions | |
const svn_cache_config_t * | svn_cache_config_get (void) |
Get the current cache configuration. More... | |
void | svn_cache_config_set (const svn_cache_config_t *settings) |
Set the cache configuration. More... | |
typedef struct svn_cache_config_t svn_cache_config_t |
Cache resource settings.
It controls what caches, in what size and how they will be created. The settings apply for the whole process.
const svn_cache_config_t* svn_cache_config_get | ( | void | ) |
Get the current cache configuration.
If it has not been set, this function will return the default settings.
void svn_cache_config_set | ( | const svn_cache_config_t * | settings | ) |
Set the cache configuration.
Please note that it may not change the actual configuration in use. Therefore, call it before reading data from any repo and call it only once.
This function is not thread-safe. Therefore, it should be called from the processes' initialization code only.