MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / cleanup

Function cleanup

crates/opencode-session/src/revert.rs:365–367  ·  view source on GitHub ↗
(session_id: &str, revert: &RevertInfo, manager: &mut SessionManager)

Source from the content-addressed store, hash-verified

363}
364
365pub fn cleanup(session_id: &str, revert: &RevertInfo, manager: &mut SessionManager) -> Result<()> {
366 RevertManager::default().cleanup(session_id, revert, manager)
367}

Callers 2

runMethod · 0.85
dropMethod · 0.85

Calls 1

cleanupMethod · 0.45

Tested by

no test coverage detected