MCPcopy
hub / github.com/claude-code-best/claude-code / truncate

Function truncate

packages/workflow-engine/src/engine/journal.ts:46–48  ·  view source on GitHub ↗
(runId)

Source from the content-addressed store, hash-verified

44 await appendFile(pathOf(runId), JSON.stringify(entry) + '\n', 'utf-8')
45 },
46 async truncate(runId) {
47 await rm(join(runsDir, runId), { recursive: true, force: true })
48 },
49 }
50}

Callers

nothing calls this directly

Calls 1

rmFunction · 0.85

Tested by

no test coverage detected