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

Function full_domain_subdomain

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

Source from the content-addressed store, hash-verified

724
725 #[test]
726 fn full_domain_subdomain() {
727 let name =
728 resolve_identity_name("https://alice.atomic.storage/workspaces/w/projects/p/code");
729 assert_eq!(name.as_deref(), Some("alice"));
730 }
731
732 #[test]
733 fn no_subdomain_returns_none() {

Callers

nothing calls this directly

Calls 1

resolve_identity_nameFunction · 0.85

Tested by

no test coverage detected