(message: &str)
| 5106 | } |
| 5107 | |
| 5108 | fn pulling_image_from_message(message: &str) -> Option<String> { |
| 5109 | let image = message |
| 5110 | .strip_prefix("Pulling image ") |
| 5111 | .map(str::trim) |
| 5112 | .map(|value| value.trim_matches('"'))?; |
| 5113 | (!image.is_empty()).then(|| image.to_string()) |
| 5114 | } |
| 5115 | |
| 5116 | fn pulled_label(event: &PlatformEvent) -> String { |
| 5117 | event |
no test coverage detected