MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / shell_quote_with_backtick

Function shell_quote_with_backtick

atomic-cli/src/commands/update.rs:916–919  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

914
915 #[test]
916 fn shell_quote_with_backtick() {
917 // Backticks inside single quotes are literal — no command substitution.
918 assert_eq!(shell_quote("/opt/`whoami`/bin"), "'/opt/`whoami`/bin'");
919 }
920
921 #[test]
922 fn shell_quote_with_command_substitution() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected