diff options
author | Vicent Marti <tanoku@gmail.com> | 2013-04-22 17:04:52 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2013-04-22 17:04:52 +0200 |
commit | d87715926049390a2417a2476742114ec966686a (patch) | |
tree | f5cf7daf3913578f57076c2efc94bfd1f728068c /src/cache.h | |
parent | cf9709b64eb49d5a0ee1181b80c950e518fb45b0 (diff) | |
download | libgit2-d87715926049390a2417a2476742114ec966686a.tar.gz |
cache: Max cache size, and evict when the cache fills upvmg/new-cache
Diffstat (limited to 'src/cache.h')
-rw-r--r-- | src/cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cache.h b/src/cache.h index e95d521fe..1715c7220 100644 --- a/src/cache.h +++ b/src/cache.h @@ -35,6 +35,7 @@ typedef struct { } git_cache; extern bool git_cache__enabled; +extern size_t git_cache__max_storage; int git_cache_set_max_object_size(git_otype type, size_t size); |