summaryrefslogtreecommitdiff
path: root/src/cache.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-04-23 20:42:29 +0200
committerVicent Marti <tanoku@gmail.com>2013-04-23 20:42:29 +0200
commita2378ae4fee55c95eb9a1f6b44f5a837d39fa724 (patch)
tree139b65ce2233974c281bbd25af1b32ef0b9dc53c /src/cache.h
parent920cbc9846c526958f6b4a7f914bdde2da1d34ec (diff)
downloadlibgit2-vmg/atomic64.tar.gz
opts: Add getter for cached memoryvmg/atomic64
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 f74fddfc9..1fb87dcea 100644
--- a/src/cache.h
+++ b/src/cache.h
@@ -36,6 +36,7 @@ typedef struct {
extern bool git_cache__enabled;
extern int64_t git_cache__max_storage;
+extern git_atomic64 git_cache__current_storage;
int git_cache_set_max_object_size(git_otype type, size_t size);