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

Method remove_captures

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

Source from the content-addressed store, hash-verified

194 /// a commit to a turn.
195 #[cfg(feature = "adoption-test-injection")]
196 fn remove_captures(&self) {
197 let captures = self
198 .root()
199 .join(format!(".atomic/sessions/{SESSION}/captures"));
200 fs::remove_dir_all(captures).unwrap();
201 }
202
203 fn session_is_incomplete(&self) -> bool {
204 !self.session_json()["status"]["incomplete"].is_null()

Calls 2

rootMethod · 0.45
unwrapMethod · 0.45

Tested by

no test coverage detected