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

Function quote_posix_command_arg

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

Source from the content-addressed store, hash-verified

887}
888
889fn quote_posix_command_arg(value: &str) -> String {
890 format!("'{}'", value.replace('\'', "'\\''"))
891}
892
893fn canonicalize_existing_prefix(path: &Path) -> std::io::Result<PathBuf> {
894 let mut existing = path.to_path_buf();

Callers 2

post_commit_snippetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected