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

Function subdomain_fallback

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

Source from the content-addressed store, hash-verified

717
718 #[test]
719 fn subdomain_fallback() {
720 let name =
721 resolve_identity_name("http://alice.localhost:8080/workspaces/w/projects/p/code");
722 assert_eq!(name.as_deref(), Some("alice"));
723 }
724
725 #[test]
726 fn full_domain_subdomain() {

Callers

nothing calls this directly

Calls 1

resolve_identity_nameFunction · 0.85

Tested by

no test coverage detected