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

Function keys

graph-ui/src/graph/navigation-history.test.ts:16–16  ·  view source on GitHub ↗
(history: NavigationHistory<Entry>)

Source from the content-addressed store, hash-verified

14interface Entry { root?: string; depth: number }
15const options: NavigationHistoryOptions<Entry> = { key: (entry) => `${entry.root ?? '*'}@${entry.depth}`, recentKey: (entry) => entry.root };
16const keys = (history: NavigationHistory<Entry>) => history.entries.map(options.key);
17const push = (history: NavigationHistory<Entry>, ...entries: Entry[]) => entries.reduce((next, entry) => pushNavigation(next, entry, options), history);
18
19describe('bounded back and forward history', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected