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

Function draftKey

graph-ui/src/adr/adr-model.ts:13–13  ·  view source on GitHub ↗
(project: string)

Source from the content-addressed store, hash-verified

11
12const memoryDrafts = new Map<string, AdrDraft>();
13const draftKey = (project: string) => `cbm.adr.draft:${encodeURIComponent(project)}`;
14
15export function sameAdr(left: AdrRecord, right: AdrRecord): boolean {
16 return left.hasAdr === right.hasAdr && left.content === right.content;

Callers 3

readAdrDraftFunction · 0.85
storeAdrDraftFunction · 0.85
clearAdrDraftFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected