(root: string)
| 48 | } |
| 49 | |
| 50 | async function index(root: string): Promise<CodeGraph> { |
| 51 | const graph = await CodeGraph.init(root, { index: true }); |
| 52 | graphs.push(graph); |
| 53 | return graph; |
| 54 | } |
| 55 | |
| 56 | /** Every edge by its ends' natural keys, and every reference left unresolved. */ |
| 57 | function stateOf(root: string, graph: CodeGraph): string[] { |