| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 from file_system import FileSystem, FileNotFoundError, StatInfo | 5 from file_system import FileSystem, FileNotFoundError, StatInfo |
| 6 from future import Future | 6 from future import Future |
| 7 from path_util import AssertIsValid, AssertIsDirectory, IsDirectory | 7 from path_util import AssertIsValid, AssertIsDirectory, IsDirectory |
| 8 | 8 |
| 9 | 9 |
| 10 def MoveTo(base, obj): | 10 def MoveTo(base, obj): |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 for file_result in read_result) | 136 for file_result in read_result) |
| 137 return stat_result | 137 return stat_result |
| 138 | 138 |
| 139 # | 139 # |
| 140 # Testing methods. | 140 # Testing methods. |
| 141 # | 141 # |
| 142 | 142 |
| 143 def IncrementStat(self, path=None, by=1): | 143 def IncrementStat(self, path=None, by=1): |
| 144 self._stat_tracker.Increment(path, by=by) | 144 self._stat_tracker.Increment(path, by=by) |
| 145 | 145 |
| 146 def GetIdentity(self): | 146 def GetStableIdentity(self): |
| 147 return self._identity | 147 return self._identity |
| OLD | NEW |