(paths: &mut Vec<PathBuf>, path: PathBuf)
| 246 | } |
| 247 | |
| 248 | fn push_unique_path(paths: &mut Vec<PathBuf>, path: PathBuf) { |
| 249 | if !paths.iter().any(|existing| existing == &path) { |
| 250 | paths.push(path); |
| 251 | } |
| 252 | } |
| 253 | |
| 254 | /// Path of the Unix domain socket the driver will listen on. |
| 255 | pub fn compute_driver_socket_path(vm_config: &VmComputeConfig) -> PathBuf { |
no test coverage detected