(&self, f: &mut std::fmt::Formatter<'_>)
| 19 | |
| 20 | impl std::fmt::Display for ModelStatus { |
| 21 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 22 | match self { |
| 23 | ModelStatus::Complete => write!(f, "complete"), |
| 24 | ModelStatus::Partial { have, total } => { |
| 25 | write!(f, "partial ({}/{} shards)", have, total) |
| 26 | } |
| 27 | } |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | /// A discovered local model. |
nothing calls this directly
no outgoing calls
no test coverage detected