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

Method new

crates/opencode-session/src/revert.rs:53–55  ·  view source on GitHub ↗
(worktree: PathBuf)

Source from the content-addressed store, hash-verified

51
52impl RevertManager {
53 pub fn new(worktree: PathBuf) -> Self {
54 Self { worktree }
55 }
56
57 pub fn revert(
58 &self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected