(host: &str)
| 228 | } |
| 229 | |
| 230 | fn docker_host_unix_socket_path(host: &str) -> Option<PathBuf> { |
| 231 | let path = host.trim().strip_prefix("unix://")?; |
| 232 | (!path.is_empty()).then(|| PathBuf::from(path)) |
| 233 | } |
| 234 | |
| 235 | #[cfg(unix)] |
| 236 | fn is_unix_socket(path: &Path) -> bool { |
no test coverage detected