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

Function userinfo_takes_priority

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

Source from the content-addressed store, hash-verified

579
580 #[test]
581 fn userinfo_takes_priority() {
582 let name =
583 resolve_identity_name("http://bob@alice.localhost:8080/workspaces/w/projects/p/code");
584 assert_eq!(name.as_deref(), Some("bob"));
585 }
586
587 #[test]
588 fn subdomain_fallback() {

Callers

nothing calls this directly

Calls 1

resolve_identity_nameFunction · 0.85

Tested by

no test coverage detected