* Watcher detected file renamed * * @param {string} libraryId * @param {string} path
(libraryId, pathFrom, pathTo)
| 221 | * @param {string} path |
| 222 | */ |
| 223 | onFileRename(libraryId, pathFrom, pathTo) { |
| 224 | if (this.checkShouldIgnorePath(pathTo)) { |
| 225 | return |
| 226 | } |
| 227 | Logger.debug(`[Watcher] Rename ${pathFrom} => ${pathTo}`) |
| 228 | this.addFileUpdate(libraryId, pathTo, 'renamed') |
| 229 | } |
| 230 | |
| 231 | /** |
| 232 | * Get mtimeMs from an added file every 3 seconds until it is no longer changing |
no test coverage detected