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

Function full_domain_subdomain

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

Source from the content-addressed store, hash-verified

711
712 #[test]
713 fn full_domain_subdomain() {
714 let name =
715 resolve_identity_name("https://alice.atomic.storage/workspaces/w/projects/p/code");
716 assert_eq!(name.as_deref(), Some("alice"));
717 }
718
719 #[test]
720 fn no_subdomain_returns_none() {

Callers

nothing calls this directly

Calls 1

resolve_identity_nameFunction · 0.85

Tested by

no test coverage detected