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

Function shell_quote_with_double_quote

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

Source from the content-addressed store, hash-verified

929
930 #[test]
931 fn shell_quote_with_double_quote() {
932 // Double quotes inside single quotes are literal.
933 assert_eq!(
934 shell_quote(r#"/opt/atomic"test""#),
935 r#"'/opt/atomic"test"'"#
936 );
937 }
938
939 #[test]
940 fn shell_quote_with_backslash() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected