MCPcopy
hub / github.com/anomalyco/opencode / store-cleanup.test.ts

File store-cleanup.test.ts

packages/desktop/src/main/store-cleanup.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, describe, expect, test } from "bun:test"
2import { mkdtemp, readdir, rm, utimes, writeFile } from "node:fs/promises"
3import { tmpdir } from "node:os"
4import { join } from "node:path"

Callers

nothing calls this directly

Calls 9

cleanupStoreFilesFunction · 0.90
deleteStoreFileIfEmptyFunction · 0.90
testFunction · 0.85
tempRootFunction · 0.85
writeStoreFunction · 0.85
rmFunction · 0.50
describeFunction · 0.50
allMethod · 0.45
fromMethod · 0.45

Tested by

no test coverage detected