MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / quote_windows_command_arg

Function quote_windows_command_arg

src/agents/mod.rs:885–887  ·  view source on GitHub ↗
(value: &str)

Source from the content-addressed store, hash-verified

883}
884
885fn quote_windows_command_arg(value: &str) -> String {
886 format!("\"{}\"", value.replace('"', "\\\""))
887}
888
889fn quote_posix_command_arg(value: &str) -> String {
890 format!("'{}'", value.replace('\'', "'\\''"))

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected