MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / freshNavigations

Function freshNavigations

__tests__/sync-navigation-retry.test.ts:468–472  ·  view source on GitHub ↗

The same files, indexed from scratch in a folder of their own.

(files: Record<string, string>, file: string)

Source from the content-addressed store, hash-verified

466
467/** The same files, indexed from scratch in a folder of their own. */
468async 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
474function internals(graph: CodeGraph): { queries: QueryBuilder; resolver: ReferenceResolver } {
475 return graph as unknown as { queries: QueryBuilder; resolver: ReferenceResolver };

Callers 1

Calls 4

tempRootFunction · 0.70
writeFunction · 0.70
navigationsFunction · 0.70
indexFunction · 0.70

Tested by

no test coverage detected