MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / fmt

Method fmt

atomic-repository/src/repository/verify.rs:49–72  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

47
48impl std::fmt::Display for VerifyProblem {
49 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
50 match self {
51 VerifyProblem::MaterializationDrift {
52 path,
53 disk_len,
54 graph_len,
55 } => write!(
56 f,
57 "materialization drift: {} (disk {} bytes, graph {} bytes) — a clean file's \
58 on-disk content does not match the graph",
59 path, disk_len, graph_len
60 ),
61 VerifyProblem::ConflictHonesty {
62 path,
63 markers,
64 status_conflicted,
65 listed,
66 } => write!(
67 f,
68 "conflict-state disagreement: {} (markers={}, status_conflicted={}, listed={})",
69 path, markers, status_conflicted, listed
70 ),
71 }
72 }
73}
74
75/// Summary of a working-copy verification.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected