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

Function full_domain_subdomain

atomic-cli/src/commands/auth.rs:642–646  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

640
641 #[test]
642 fn full_domain_subdomain() {
643 let name =
644 resolve_identity_name("https://alice.atomic.storage/workspaces/w/projects/p/code");
645 assert_eq!(name.as_deref(), Some("alice"));
646 }
647
648 #[test]
649 fn no_subdomain_returns_none() {

Callers

nothing calls this directly

Calls 1

resolve_identity_nameFunction · 0.85

Tested by

no test coverage detected