Chromium Code Reviews| Index: chrome/common/extensions/docs/server2/patcher.py |
| =================================================================== |
| --- chrome/common/extensions/docs/server2/patcher.py (revision 0) |
| +++ chrome/common/extensions/docs/server2/patcher.py (revision 0) |
| @@ -0,0 +1,18 @@ |
| +class Patcher(object): |
|
not at google - send to devlin
2013/05/04 06:47:43
need copyright and class comment
方觉(Fang Jue)
2013/05/04 10:47:18
oops. Done.
|
| + def GetPatchedFiles(self): |
| + ''' Returns (added_files, deleted_files, modified_files). |
| + ''' |
| + raise NotImplementedError() |
| + |
| + def GetVersion(self): |
| + ''' Returns patch version. Returns None when nothing is patched by the |
| + pathcer. |
|
not at google - send to devlin
2013/05/04 06:47:43
patcher
方觉(Fang Jue)
2013/05/04 10:47:18
ah..
|
| + ''' |
| + raise NotImplementedError() |
| + |
| + def Apply(self, paths, file_system, binary): |
| + ''' Apply the patch to added/modified files. Returns Future with patched |
| + data. Throws FileNotFoundError if |paths| contains deleted files. |
| + ''' |
| + raise NotImplementedError() |
| + |
|
not at google - send to devlin
2013/05/04 06:47:43
trailing \n
方觉(Fang Jue)
2013/05/04 10:47:18
Done.
|
| Property changes on: chrome/common/extensions/docs/server2/patcher.py |
| ___________________________________________________________________ |
| Added: svn:eol-style |
| + LF |