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

Function openEntryTarget

ui/src/lib/walk.ts:66–73  ·  view source on GitHub ↗
(target: EntryTarget)

Source from the content-addressed store, hash-verified

64 * that nothing on screen was stepped through to reach.
65 */
66export function openEntryTarget(target: EntryTarget): void {
67 if (!target) return;
68 if (target.type === 'file') {
69 navigate(fileHref(target.path));
70 return;
71 }
72 walkTo({ id: target.id, name: target.name, kind: target.kind }, 'start');
73}

Callers

nothing calls this directly

Calls 3

navigateFunction · 0.90
fileHrefFunction · 0.90
walkToFunction · 0.85

Tested by

no test coverage detected