diff options
Diffstat (limited to 'src/storage.h')
-rw-r--r-- | src/storage.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/storage.h b/src/storage.h index 0f7c3bf..ef335b8 100644 --- a/src/storage.h +++ b/src/storage.h @@ -164,6 +164,9 @@ struct PartialStorage::Priv optional<Digest> copy(const typename S::Ref &, vector<Digest> *) const; template<class S> optional<Digest> copy(const ObjectT<S> &, vector<Digest> *) const; + + mutable mutex generationCacheLock {}; + mutable unordered_map<Digest, Generation> generationCache {}; }; struct PartialRef::Priv |