()
| 627 | } |
| 628 | |
| 629 | private activeFiles(): Map<string, string> { |
| 630 | const filtered = new Map<string, string>() |
| 631 | for (const [key, value] of this.files) { |
| 632 | if (!this.isRecentlyDeleted(key)) { |
| 633 | filtered.set(key, value) |
| 634 | } |
| 635 | } |
| 636 | return filtered |
| 637 | } |
| 638 | |
| 639 | private filesForPath(path?: string): Map<string, string> { |
| 640 | if (path?.startsWith('recently-deleted')) return this.files |
no test coverage detected