MCPcopy Create free account
hub / github.com/base/base / shell_quote

Method shell_quote

acceptance/src/cli.rs:415–417  ·  view source on GitHub ↗

Quotes one path for inert reproduction text.

(path: &Path)

Source from the content-addressed store, hash-verified

413
414 /// Quotes one path for inert reproduction text.
415 pub fn shell_quote(path: &Path) -> String {
416 format!("'{}'", path.to_string_lossy().replace('\'', "'\\''"))
417 }
418
419 /// Returns Unix time in milliseconds.
420 pub fn now() -> u64 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected