* Get files that need re-indexing (hash changed)
(currentHashes: Map<string, string>)
| 4343 | * Get files that need re-indexing (hash changed) |
| 4344 | */ |
| 4345 | getStaleFiles(currentHashes: Map<string, string>): FileRecord[] { |
| 4346 | const files = this.getAllFiles(); |
| 4347 | return files.filter((f) => { |
| 4348 | const currentHash = currentHashes.get(f.path); |
| 4349 | return currentHash && currentHash !== f.contentHash; |
| 4350 | }); |
| 4351 | } |
| 4352 | |
| 4353 | // =========================================================================== |
| 4354 | // Unresolved References |
nothing calls this directly
no test coverage detected