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

Function push_optional_path_arg

packages/server/src/main.rs:3565–3569  ·  view source on GitHub ↗
(args: &mut Vec<String>, name: &str, value: Option<PathBuf>)

Source from the content-addressed store, hash-verified

3563}
3564
3565fn push_optional_path_arg(args: &mut Vec<String>, name: &str, value: Option<PathBuf>) {
3566 if let Some(value) = value {
3567 push_arg(args, name, value.to_string_lossy().into_owned());
3568 }
3569}
3570
3571fn format_pairing_code(pairing_code: &str) -> String {
3572 if pairing_code.len() == 6 {

Callers 1

run_provider_commandFunction · 0.85

Calls 1

push_argFunction · 0.85

Tested by

no test coverage detected