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

Method from

crates/opencode-session/src/revert.rs:39–45  ·  view source on GitHub ↗
(d: SessionFileDiff)

Source from the content-addressed store, hash-verified

37
38impl From<SessionFileDiff> for FileDiff {
39 fn from(d: SessionFileDiff) -> Self {
40 Self {
41 path: d.path,
42 additions: d.additions,
43 deletions: d.deletions,
44 }
45 }
46}
47
48pub struct RevertManager {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected