| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import os | 5 import os |
| 6 | 6 |
| 7 class FileNotFoundError(Exception): | 7 class FileNotFoundError(Exception): |
| 8 def __init__(self, filename): | 8 def __init__(self, filename): |
| 9 Exception.__init__(self, filename) | 9 Exception.__init__(self, filename) |
| 10 | 10 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 the directory in |StatInfo.child_versions|. | 62 the directory in |StatInfo.child_versions|. |
| 63 ''' | 63 ''' |
| 64 raise NotImplementedError() | 64 raise NotImplementedError() |
| 65 | 65 |
| 66 @classmethod | 66 @classmethod |
| 67 def GetName(cls): | 67 def GetName(cls): |
| 68 '''The type of the file system, exposed for caching classes to namespace | 68 '''The type of the file system, exposed for caching classes to namespace |
| 69 their caches. It is unlikely that this needs to be overridden. | 69 their caches. It is unlikely that this needs to be overridden. |
| 70 ''' | 70 ''' |
| 71 return cls.__name__ | 71 return cls.__name__ |
| 72 | |
| 73 @classmethod | |
| 74 def GetVersion(cls): | |
| 75 '''The version of the file system, exposed for caching classes backed to | |
| 76 file systems. It is unlikely that this needs to be overridden. | |
| 77 ''' | |
| 78 return None | |
| OLD | NEW |