(wordToFiles: Map<string, Set<string>>, fileToHighlights: Map<string, HighlightInfo[]>)
| 29 | } |
| 30 | |
| 31 | replace(wordToFiles: Map<string, Set<string>>, fileToHighlights: Map<string, HighlightInfo[]>): void { |
| 32 | this.index = { |
| 33 | wordToFiles, |
| 34 | fileToHighlights, |
| 35 | lastUpdated: Date.now() |
| 36 | }; |
| 37 | } |
| 38 | |
| 39 | ensureInitialized(): void { |
| 40 | if (this.index.lastUpdated !== 0) return; |
no outgoing calls
no test coverage detected