MCPcopy Create free account
hub / github.com/GCWing/BitFun / get

Method get

src/crates/execution/agent-runtime/src/file_read_state.rs:240–244  ·  view source on GitHub ↗
(&self, session_id: &str, logical_path: &str)

Source from the content-addressed store, hash-verified

238 }
239
240 pub fn get(&self, session_id: &str, logical_path: &str) -> Option<FileReadState> {
241 self.session_states
242 .get(session_id)
243 .and_then(|states| states.get(logical_path).map(|entry| entry.clone()))
244 }
245}
246
247#[cfg(test)]

Callers 15

build_goal_tool_resultFunction · 0.45
metadata_toolsFunction · 0.45
events_for_turnMethod · 0.45
summary_for_sessionMethod · 0.45
get_stateMethod · 0.45
get_snapshotMethod · 0.45

Calls 1

cloneMethod · 0.45