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

Function subdomain_fallback

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

Source from the content-addressed store, hash-verified

459
460 #[test]
461 fn subdomain_fallback() {
462 let name =
463 resolve_identity_name("http://alice.localhost:8080/workspaces/w/projects/p/code");
464 assert_eq!(name.as_deref(), Some("alice"));
465 }
466
467 #[test]
468 fn full_domain_subdomain() {

Callers

nothing calls this directly

Calls 1

resolve_identity_nameFunction · 0.85

Tested by

no test coverage detected