Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ConardLi/easy-agent
/ appendFileHistorySnapshot
Method
appendFileHistorySnapshot
step/step26.js:41–47 ·
view source on GitHub ↗
(sessionId, snapshot)
Source
from the content-addressed store, hash-verified
39
}
40
41
appendFileHistorySnapshot(sessionId, snapshot) {
42
this.entries.push({
43
type
:
"file_history_snapshot"
,
44
sessionId,
45
snapshot,
46
});
47
}
48
49
restoreFileHistorySnapshots(sessionId) {
50
return
this.entries
Callers
1
recordSnapshot
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected