Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AI45Lab/Code
/ replace_events
Method
replace_events
core/src/trace.rs:118–120 ·
view source on GitHub ↗
(&self, events: Vec<TraceEvent>)
Source
from the content-addressed store, hash-verified
116
}
117
118
pub fn replace_events(&self, events: Vec<TraceEvent>) {
119
*self.events.write().unwrap() = events;
120
}
121
122
pub fn clear(&self) {
123
self.events.write().unwrap().clear();
Callers
2
restore_persisted_session_state
Function · 0.80
test_resume_session_restores_trace_events
Function · 0.80
Calls
1
write
Method · 0.80
Tested by
1
test_resume_session_restores_trace_events
Function · 0.64