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

Function extract_origin_https

crates/openshell-cli/src/auth.rs:478–483  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

476
477 #[test]
478 fn extract_origin_https() {
479 assert_eq!(
480 extract_origin("https://gateway.example.com"),
481 Some("https://gateway.example.com".to_string())
482 );
483 }
484
485 #[test]
486 fn extract_origin_with_port() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected