summaryrefslogtreecommitdiff
path: root/src/cache.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-04-03 23:39:42 +0200
committerVicent Marti <tanoku@gmail.com>2013-04-22 16:50:51 +0200
commit064236ca45067c9a7189e0d30790b8f3541b91ad (patch)
treebaf27663ed6d389050a911d93eb2fbea475fbdf9 /src/cache.h
parentcf7850a4f70a1153ed640744750391d99000d546 (diff)
downloadlibgit2-064236ca45067c9a7189e0d30790b8f3541b91ad.tar.gz
Per-object max size
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 d57f244dd..65a6e5766 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -31,6 +31,7 @@ typedef struct {
typedef struct {
git_oidmap *map;
git_mutex lock;
+ size_t used_memory;
} git_cache;
int git_cache_init(git_cache *cache);