(root: string)
| 62 | } |
| 63 | |
| 64 | async function index(root: string): Promise<CodeGraph> { |
| 65 | const graph = await CodeGraph.init(root, { index: true }); |
| 66 | graphs.push(graph); |
| 67 | return graph; |
| 68 | } |
| 69 | |
| 70 | /** Every edge by its ends' natural keys, and every reference left unresolved. */ |
| 71 | function stateOf(root: string, graph: CodeGraph): string[] { |