Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3180)

Unified Diff: chrome/common/extensions/docs/server2/chroot_file_system.py

Issue 660383002: Docserver: Persist stat cache for versioned file systems (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change caching strategy, better refresh cycle synchronization Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/chroot_file_system.py
diff --git a/chrome/common/extensions/docs/server2/chroot_file_system.py b/chrome/common/extensions/docs/server2/chroot_file_system.py
index 2ed612f13f8fb2f5ef3123e87e093b1d0243938a..52fd6d1f7b7f6dfc82368a50915208b0307f439c 100644
--- a/chrome/common/extensions/docs/server2/chroot_file_system.py
+++ b/chrome/common/extensions/docs/server2/chroot_file_system.py
@@ -44,7 +44,7 @@ class ChrootFileSystem(FileSystem):
def Stat(self, path):
return self._file_system.Stat(posixpath.join(self._root, path))
- def GetIdentity(self):
+ def GetStableIdentity(self):
return StringIdentity(
'%s/%s' % (self._file_system.GetIdentity(), self._root))

Powered by Google App Engine
This is Rietveld 408576698