MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / push_arg

Function push_arg

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

Source from the content-addressed store, hash-verified

3552}
3553
3554fn push_arg(args: &mut Vec<String>, name: &str, value: String) {
3555 args.push(name.to_owned());
3556 args.push(value);
3557}
3558
3559fn push_optional_arg(args: &mut Vec<String>, name: &str, value: Option<String>) {
3560 if let Some(value) = value.filter(|value| !value.trim().is_empty()) {

Callers 3

run_provider_commandFunction · 0.85
push_optional_argFunction · 0.85
push_optional_path_argFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected