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

Function subdomain_fallback

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

Source from the content-addressed store, hash-verified

586
587 #[test]
588 fn subdomain_fallback() {
589 let name =
590 resolve_identity_name("http://alice.localhost:8080/workspaces/w/projects/p/code");
591 assert_eq!(name.as_deref(), Some("alice"));
592 }
593
594 #[test]
595 fn full_domain_subdomain() {

Callers

nothing calls this directly

Calls 1

resolve_identity_nameFunction · 0.85

Tested by

no test coverage detected