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

Function shell_quote_with_dollar

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

Source from the content-addressed store, hash-verified

908
909 #[test]
910 fn shell_quote_with_dollar() {
911 // $ inside single quotes is literal — no parameter expansion.
912 assert_eq!(shell_quote("/opt/$HOME/bin"), "'/opt/$HOME/bin'");
913 }
914
915 #[test]
916 fn shell_quote_with_backtick() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected