MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / shell_escape_special_chars

Function shell_escape_special_chars

crates/openshell-core/src/forward.rs:1060–1062  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1058
1059 #[test]
1060 fn shell_escape_special_chars() {
1061 assert_eq!(shell_escape("it's"), "'it'\"'\"'s'");
1062 }
1063
1064 fn valid_session_response() -> crate::proto::CreateSshSessionResponse {
1065 crate::proto::CreateSshSessionResponse {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected