(d: Duration)
| 319 | let minutes = total_secs / 60; |
| 320 | let seconds = total_secs % 60; |
| 321 | format!("{:02}:{:02}", minutes, seconds) |
| 322 | } |
| 323 | |
| 324 | fn progress_fraction(&self) -> f32 { |
| 325 | if let Some(total) = self.total_duration { |
| 326 | if total.as_millis() == 0 { |
| 327 | return 0.0; |
| 328 | } |
| 329 |
nothing calls this directly
no outgoing calls
no test coverage detected