summaryrefslogtreecommitdiff
path: root/src/cache.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-04-22 17:04:52 +0200
committerVicent Marti <tanoku@gmail.com>2013-04-22 17:04:52 +0200
commitd87715926049390a2417a2476742114ec966686a (patch)
treef5cf7daf3913578f57076c2efc94bfd1f728068c /src/cache.h
parentcf9709b64eb49d5a0ee1181b80c950e518fb45b0 (diff)
downloadlibgit2-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.h1
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);