MCPcopy Create free account
hub / github.com/arktypeio/arktype / delete

Method delete

ark/aot/cache.ts:202–204  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

200 }
201
202 delete(key: string): void {
203 rmSync(join(this.dir, `a-${key}.json`), { force: true })
204 }
205
206 // named by content, so each read once
207 private snapshots: Record<string, Snapshot | undefined> = {}

Callers 15

visitFunction · 0.45
scannedFunction · 0.45
createKeyedPrecompilerFunction · 0.45
touchPrecompilerFunction · 0.45
checkFunction · 0.45
visitFunction · 0.45
settleMethod · 0.45
printShapeMethod · 0.45
unitsOfFunction · 0.45
writeFlatFunction · 0.45
forgetMethod · 0.45
dynamicInMethod · 0.45

Calls 1

joinFunction · 0.85

Tested by

no test coverage detected