Comments
Patch
@@ -996,6 +996,7 @@
except AttributeError:
pass
self.invalidatecaches()
+ self.store.invalidatecaches()
def invalidateall(self):
'''Fully invalidates both store and non-store parts, causing the
@@ -340,6 +340,9 @@
def write(self, tr):
pass
+ def invalidatecaches(self):
+ pass
+
def __contains__(self, path):
'''Checks if the store contains path'''
path = "/".join(("data", path))
@@ -489,6 +492,9 @@
def write(self, tr):
self.fncache.write(tr)
+ def invalidatecaches(self):
+ self.fncache.entries = None
+
def _exists(self, f):
ef = self.encode(f)
try: