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

Function extract_subdomain_simple

atomic-remote/src/auth/mod.rs:745–750  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

743
744 #[test]
745 fn extract_subdomain_simple() {
746 assert_eq!(
747 extract_subdomain("alice.localhost"),
748 Some("alice".to_string())
749 );
750 }
751
752 #[test]
753 fn extract_subdomain_nested() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected