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

Method clear_revert

crates/opencode-session/src/session.rs:594–597  ·  view source on GitHub ↗

Clear the revert information

(&mut self)

Source from the content-addressed store, hash-verified

592
593 /// Clear the revert information
594 pub fn clear_revert(&mut self) {
595 self.revert = None;
596 self.touch();
597 }
598
599 /// Set the summary
600 pub fn set_summary(&mut self, summary: SessionSummary) {

Callers 3

clear_session_revertFunction · 0.80
unrevertMethod · 0.80
cleanupMethod · 0.80

Calls 4

publish_session_eventMethod · 0.80
touchMethod · 0.45
get_mutMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected