Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Opencode-DCP/opencode-dynamic-context-pruning
/ update.test.ts
File
update.test.ts
tests/update.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ mkdir, mkdtemp, writeFile } from
"node:fs/promises"
2
import
{ join } from
"node:path"
3
import
{ tmpdir } from
"node:os"
4
import
test from
"node:test"
Callers
nothing calls this directly
Calls
4
isVersionNewer
Function · 0.90
isAutoUpdatableSpec
Function · 0.90
updateRemoveDir
Function · 0.90
writePackageJson
Function · 0.85
Tested by
no test coverage detected