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

Function route

__tests__/sync-navigation-retry.test.ts:619–622  ·  view source on GitHub ↗
(filePath: string, name: string, id = `route:${filePath}:1:${name}`)

Source from the content-addressed store, hash-verified

617
618describe('changedRoutes', () => {
619 const route = (filePath: string, name: string, id = `route:${filePath}:1:${name}`): Node => ({
620 id, kind: 'route', name, qualifiedName: `${filePath}::route:${name}`, filePath, language: 'jsx',
621 startLine: 1, endLine: 1, startColumn: 0, endColumn: 0, updatedAt: 0,
622 });
623
624 it('is the routes on one side only, by file and path', () => {
625 const kept = route('src/App.jsx', '/');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected