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

Function route

__tests__/import-default-as.test.ts:181–185  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

179 })
180 .sort();
181 const route = (name: string) => {
182 const found = cg.getNodesByKind('route').find((r) => r.name === name);
183 expect(found, `route ${name}`).toBeDefined();
184 return found!;
185 };
186 const renders = (name: string) =>
187 cg
188 .getOutgoingEdges(route(name).id)

Callers 1

rendersFunction · 0.70

Calls 1

getNodesByKindMethod · 0.65

Tested by

no test coverage detected