Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ clear
Function
clear
packages/app/src/context/comments.tsx:143–149 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
141
}
142
143
const clear = () => {
144
batch(() => {
145
setStore(
"comments"
, reconcile({}))
146
setFocus(null)
147
setActive(null)
148
})
149
}
150
151
return {
152
list,
Callers
nothing calls this directly
Calls
5
batch
Function · 0.85
setStore
Function · 0.85
setFocus
Function · 0.85
setActive
Function · 0.70
reconcile
Function · 0.50
Tested by
no test coverage detected