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

Function extract_host_ssh_scheme

crates/openshell-bootstrap/src/metadata.rs:430–435  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

428
429 #[test]
430 fn extract_host_ssh_scheme() {
431 assert_eq!(
432 extract_host_from_ssh_destination("ssh://ubuntu@myserver"),
433 "myserver"
434 );
435 }
436
437 #[test]
438 fn extract_host_ssh_scheme_no_user() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected