(&self, f: &mut std::fmt::Formatter<'_>)
| 68 | |
| 69 | impl std::fmt::Display for RefSyncStatus { |
| 70 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 71 | let name = match self { |
| 72 | Self::Synchronized => "synchronized", |
| 73 | Self::GitAhead => "git-ahead", |
| 74 | Self::AtomicAhead => "atomic-ahead", |
| 75 | Self::Diverged => "diverged", |
| 76 | Self::Unrepresentable => "unrepresentable", |
| 77 | }; |
| 78 | f.write_str(name) |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | /// One persistent view ↔ Git ref mapping (RFC §8.1). |
nothing calls this directly
no outgoing calls
no test coverage detected