MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / trailKey

Function trailKey

graph-ui/src/galaxy/scope-history.ts:32–34  ·  view source on GitHub ↗
(trail: ScopeTrail | undefined)

Source from the content-addressed store, hash-verified

30}
31
32function trailKey(trail: ScopeTrail | undefined): string {
33 return trail === undefined ? '' : trail.kind === 'calls' ? 'calls' : `path:${trail.target}`;
34}
35
36export const galaxyHistoryOptions: NavigationHistoryOptions<GalaxyHistoryEntry> = {
37 key: (entry) => JSON.stringify([entry.scope ? scopeIdentity(entry.scope) : null, entry.scope ? entry.depth : 0,

Callers 1

scope-history.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected