diff options
author | Vicent Marti <tanoku@gmail.com> | 2013-04-03 20:57:30 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2013-04-22 16:50:50 +0200 |
commit | c4e91d4500bdd357fbf7378bc10648a482513fa6 (patch) | |
tree | c0be7df93bd56f52c20835359c3a89e11562c7c2 /src/cache.h | |
parent | 6b90e244de78640b751d0923c91c3868e12b8658 (diff) | |
download | libgit2-c4e91d4500bdd357fbf7378bc10648a482513fa6.tar.gz |
Random eviction
Diffstat (limited to 'src/cache.h')
-rw-r--r-- | src/cache.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cache.h b/src/cache.h index 3461ff7d5..f952830c5 100644 --- a/src/cache.h +++ b/src/cache.h @@ -23,14 +23,13 @@ enum { typedef struct { git_oid oid; git_atomic refcount; - uint16_t flags; - uint16_t lru; + uint32_t cache_size; + uint32_t flags; } git_cached_obj; typedef struct { git_oidmap *map; git_mutex lock; - unsigned int lru_count; } git_cache; int git_cache_init(git_cache *cache); |