(arguments: &[String])
| 412 | } |
| 413 | |
| 414 | fn installed_executable_path(arguments: &[String]) -> PathBuf { |
| 415 | arguments |
| 416 | .first() |
| 417 | .map(PathBuf::from) |
| 418 | .unwrap_or_else(|| PathBuf::from("simdeck")) |
| 419 | } |
| 420 | |
| 421 | fn current_executable_path() -> anyhow::Result<PathBuf> { |
| 422 | if let Some(arg0) = env::args_os().next().filter(|value| !value.is_empty()) { |
no outgoing calls
no test coverage detected