MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / session_json

Method session_json

atomic-cli/tests/it/agent_git_commit_absorb_test.rs:175–178  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

173 }
174
175 fn session_json(&self) -> serde_json::Value {
176 let path = self.root().join(format!(".atomic/sessions/{SESSION}.json"));
177 serde_json::from_str(&fs::read_to_string(path).unwrap()).unwrap()
178 }
179
180 /// The change hashes the session recorded so far.
181 fn recorded_hashes(&self) -> Vec<String> {

Calls 2

rootMethod · 0.45
unwrapMethod · 0.45

Tested by

no test coverage detected