MCPcopy
hub / github.com/anomalyco/opencode / remove

Function remove

packages/plugin/src/example-workspace.ts:20–22  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

18 await mkdir(config.directory, { recursive: true })
19 },
20 async remove(config) {
21 await rm(config.directory!, { recursive: true, force: true })
22 },
23 target(config) {
24 return {
25 type: "local",

Callers

nothing calls this directly

Calls 1

rmFunction · 0.50

Tested by

no test coverage detected