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

Function userinfo_takes_priority

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

Source from the content-addressed store, hash-verified

710
711 #[test]
712 fn userinfo_takes_priority() {
713 let name =
714 resolve_identity_name("http://bob@alice.localhost:8080/workspaces/w/projects/p/code");
715 assert_eq!(name.as_deref(), Some("bob"));
716 }
717
718 #[test]
719 fn subdomain_fallback() {

Callers

nothing calls this directly

Calls 1

resolve_identity_nameFunction · 0.85

Tested by

no test coverage detected