Stat the path. Made a separate function to make it easier to override in experiments (e.g. cache stat results).
(path)
| 143 | |
| 144 | |
| 145 | def _path_stat(path): |
| 146 | """Stat the path. |
| 147 | |
| 148 | Made a separate function to make it easier to override in experiments |
| 149 | (e.g. cache stat results). |
| 150 | |
| 151 | """ |
| 152 | return _os.stat(path) |
| 153 | |
| 154 | |
| 155 | def _path_is_mode_type(path, mode): |
no test coverage detected
searching dependent graphs…