MCPcopy Index your code
hub / github.com/anomalyco/opencode / removeDraftPersisted

Function removeDraftPersisted

packages/app/src/context/tabs.tsx:90–92  ·  view source on GitHub ↗
(draftID: string)

Source from the content-addressed store, hash-verified

88 }
89
90 const removeDraftPersisted = (draftID: string) => {
91 for (const key of draftPersistedKeys()) removePersisted(Persist.draft(draftID, key), platform)
92 }
93
94 onCleanup(memory.dispose)
95

Callers 3

removeTabFunction · 0.85
promoteDraftFunction · 0.85
removeServerFunction · 0.85

Calls 2

draftPersistedKeysFunction · 0.90
removePersistedFunction · 0.90

Tested by

no test coverage detected