MCPcopy Create free account
hub / github.com/xintaofei/codeg / storageKeyForDraftKey

Function storageKeyForDraftKey

src/lib/message-input-draft.ts:24–26  ·  view source on GitHub ↗
(draftKey: string)

Source from the content-addressed store, hash-verified

22let persistenceListenersBound = false
23
24function storageKeyForDraftKey(draftKey: string): string {
25 return `${STORAGE_PREFIX}:${draftKey}`
26}
27
28function storageKeyForDraftKeyV2(draftKey: string): string {
29 return `${STORAGE_PREFIX_V2}:${draftKey}`

Callers 3

loadMessageInputDraftFunction · 0.85
clearMessageInputDraftFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected