MCPcopy Create free account
hub / github.com/cloudflare/computer / clearExecState

Function clearExecState

packages/computerd/src/exec/schema.ts:49–52  ·  view source on GitHub ↗
(db: Database)

Source from the content-addressed store, hash-verified

47// survives a restart (the children are gone), so the safe
48// behaviour is to clear the slate.
49export function clearExecState(db: Database): void {
50 db.run(`DELETE FROM computerd_exec_log`);
51 db.run(`DELETE FROM computerd_exec_meta`);
52}

Callers 1

constructorMethod · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected