(&self, f: &mut std::fmt::Formatter<'_>)
| 47 | |
| 48 | impl 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. |
nothing calls this directly
no outgoing calls
no test coverage detected