Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ persistence.test.ts
File
persistence.test.ts
packages/agent-core/test/agent/records/persistence.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ randomBytes } from
'node:crypto'
;
2
import
{ mkdir, readFile, readdir, rm } from
'node:fs/promises'
;
3
import
{ tmpdir } from
'node:os'
;
4
import
{ join } from
'pathe'
;
Callers
nothing calls this directly
Calls
12
makeWirePath
Function · 0.85
readLines
Function · 0.70
append
Method · 0.65
close
Method · 0.65
read
Method · 0.65
rewrite
Method · 0.65
flush
Method · 0.65
toString
Method · 0.65
mkdir
Function · 0.50
readdir
Function · 0.50
readFile
Function · 0.50
push
Method · 0.45
Tested by
no test coverage detected