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

Function resolve_identity_name

atomic-remote/src/auth/mod.rs:678–680  ·  view source on GitHub ↗

Config-free URL identity resolution for these tests.

(remote_url: &str)

Source from the content-addressed store, hash-verified

676 use super::*;
677 /// Config-free URL identity resolution for these tests.
678 fn resolve_identity_name(remote_url: &str) -> Option<String> {
679 resolve_identity_from_url(remote_url, &[])
680 }
681
682 #[test]
683 fn apex_strips_subdomain_with_port() {

Callers 5

userinfo_takes_priorityFunction · 0.85
subdomain_fallbackFunction · 0.85
full_domain_subdomainFunction · 0.85
invalid_url_returns_noneFunction · 0.85

Calls 1

Tested by 5

userinfo_takes_priorityFunction · 0.68
subdomain_fallbackFunction · 0.68
full_domain_subdomainFunction · 0.68
invalid_url_returns_noneFunction · 0.68