Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ destroy
Function
destroy
packages/opencode/test/cli/run/scrollback.surface.test.ts:56–60 ·
view source on GitHub ↗
(commits: ClaimedCommit[])
Source
from the content-addressed store, hash-verified
54
}
55
56
function
destroy(commits: ClaimedCommit[]) {
57
for
(
const
commit of commits) {
58
commit.snapshot.destroy()
59
}
60
}
61
62
async
function
setup(
63
input: {
Callers
2
scrollback.surface.test.ts
File · 0.70
take
Function · 0.70
Calls
1
destroy
Method · 0.65
Tested by
no test coverage detected