* Get files that need re-indexing (hash changed)
(currentHashes: Map<string, string>)
| 4454 | * Get files that need re-indexing (hash changed) |
| 4455 | */ |
| 4456 | getStaleFiles(currentHashes: Map<string, string>): FileRecord[] { |
| 4457 | const files = this.getAllFiles(); |
| 4458 | return files.filter((f) => { |
| 4459 | const currentHash = currentHashes.get(f.path); |
| 4460 | return currentHash && currentHash !== f.contentHash; |
| 4461 | }); |
| 4462 | } |
| 4463 | |
| 4464 | // =========================================================================== |
| 4465 | // Unresolved References |
nothing calls this directly
no test coverage detected