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

Function extract_subdomain_nested

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

Source from the content-addressed store, hash-verified

751
752 #[test]
753 fn extract_subdomain_nested() {
754 assert_eq!(
755 extract_subdomain("alice.atomic.storage"),
756 Some("alice".to_string())
757 );
758 }
759
760 #[test]
761 fn extract_subdomain_bare() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected