Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / docs / server2 / file_system.py
index c0c8551..1cbeb75 100644 (file)
@@ -160,13 +160,21 @@ class FileSystem(object):
 
   def GetIdentity(self):
     '''The identity of the file system, exposed for caching classes to
-    namespace their caches. this will usually depend on the configuration of
+    namespace their caches. This will usually depend on the configuration of
     that file system - e.g. a LocalFileSystem with a base path of /var is
     different to that of a SubversionFileSystem with a base path of /bar, is
     different to a LocalFileSystem with a base path of /usr.
     '''
     raise NotImplementedError(self.__class__)
 
+  def GetVersion(self):
+    '''The version of the file system, exposed for more granular caching.
+    This may be any serializable data, though generally it should be a revision
+    number or hash string. The default implementation returns None, indicating
+    that the FileSystem is not versioned.
+    '''
+    return None
+
   def Walk(self, root, depth=-1, file_lister=None):
     '''Recursively walk the directories in a file system, starting with root.