MCPcopy 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
56function destroy(commits: ClaimedCommit[]) {
57 for (const commit of commits) {
58 commit.snapshot.destroy()
59 }
60}
61
62async function setup(
63 input: {

Callers 2

takeFunction · 0.70

Calls 1

destroyMethod · 0.65

Tested by

no test coverage detected