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

Function write

graph-ui/src/checklist/understanding-store.ts:154–162  ·  view source on GitHub ↗
(store: KeyValueStore, project: string, record: UnderstandingRecord)

Source from the content-addressed store, hash-verified

152}
153
154function write(store: KeyValueStore, project: string, record: UnderstandingRecord): void {
155 try {
156 store.setItem(understandingKey(project), JSON.stringify(record));
157 } catch {
158 // A full or refused storage is not a reason to lose the click that was
159 // just made: the marks stay in the value returned above for as long as
160 // this page lives, and the next read simply finds fewer of them.
161 }
162}
163
164/**
165 * One symbol's checklist with this reader's marks drawn over it.

Callers 2

markVisitedFunction · 0.70
setConfirmedFunction · 0.70

Calls 2

understandingKeyFunction · 0.85
setItemMethod · 0.65

Tested by

no test coverage detected