(service_path: &Path)
| 337 | } |
| 338 | |
| 339 | fn read_service_unit(service_path: &Path) -> Result<String> { |
| 340 | std::fs::read_to_string(service_path).map_err(|e| TraceDecayError::Config { |
| 341 | message: format!("failed to read service '{}': {e}", service_path.display()), |
| 342 | }) |
| 343 | } |
| 344 | |
| 345 | fn socket_path_from_args<'a>(mut args: impl Iterator<Item = &'a str>) -> Option<PathBuf> { |
| 346 | while let Some(arg) = args.next() { |
no outgoing calls
no test coverage detected