The same files, indexed from scratch in a folder of their own.
(files: Record<string, string>, file: string)
| 466 | |
| 467 | /** The same files, indexed from scratch in a folder of their own. */ |
| 468 | async function freshNavigations(files: Record<string, string>, file: string): Promise<string[]> { |
| 469 | const root = tempRoot(); |
| 470 | write(root, files); |
| 471 | return navigations(await index(root), file); |
| 472 | } |
| 473 | |
| 474 | function internals(graph: CodeGraph): { queries: QueryBuilder; resolver: ReferenceResolver } { |
| 475 | return graph as unknown as { queries: QueryBuilder; resolver: ReferenceResolver }; |
no test coverage detected