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

Method diff_full

crates/opencode-session/src/snapshot.rs:134–186  ·  view source on GitHub ↗

Compute diff between two git refs (matching TS `Snapshot.diffFull`). Runs `git diff --numstat --no-renames -- .` to get per-file addition/deletion counts, then `git diff --name-status --no-renames -- .` to determine whether each file was added, deleted, or modified.

(directory: &Path, from: &str, to: &str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

ensure_snapshot_repoFunction · 0.85
newFunction · 0.85
is_emptyMethod · 0.80
git_outputFunction · 0.70

Tested by

no test coverage detected