Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
removeTab
Function · 0.85
promoteDraft
Function · 0.85
removeServer
Function · 0.85
Calls
2
draftPersistedKeys
Function · 0.90
removePersisted
Function · 0.90
Tested by
no test coverage detected