MCPcopy Index your code
hub / github.com/NativeScript/SimDeck / installed_executable_path

Function installed_executable_path

packages/server/src/service.rs:414–419  ·  view source on GitHub ↗
(arguments: &[String])

Source from the content-addressed store, hash-verified

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

Callers 2

activeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected