Method: Rugged::Settings.max_cache_size
- Defined in:
- ext/rugged/rugged_settings.c
.Rugged::Settings.max_cache_size ⇒ Object
Returns the maximum amount of memory the cache will consume.
149 150 151 152 153 154 |
# File 'ext/rugged/rugged_settings.c', line 149
static VALUE rb_git_get_max_cache_size(VALUE mod) {
size_t val;
size_t max;
git_libgit2_opts(GIT_OPT_GET_CACHED_MEMORY, &val, &max);
return SIZET2NUM(max);
}
|