(message: &str)
| 1019 | } |
| 1020 | |
| 1021 | fn extract_image_size(message: &str) -> Option<u64> { |
| 1022 | let size_prefix = "Image size: "; |
| 1023 | let start = message.find(size_prefix)? + size_prefix.len(); |
| 1024 | let rest = &message[start..]; |
| 1025 | let end = rest.find(' ')?; |
| 1026 | rest[..end].parse().ok() |
| 1027 | } |
| 1028 | |
| 1029 | /// Path where the supervisor binary is mounted inside the agent container. |
| 1030 | const SUPERVISOR_MOUNT_PATH: &str = openshell_core::driver_utils::SUPERVISOR_CONTAINER_DIR; |
no test coverage detected