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

Function userinfo_takes_priority

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

Source from the content-addressed store, hash-verified

452
453 #[test]
454 fn userinfo_takes_priority() {
455 let name =
456 resolve_identity_name("http://bob@alice.localhost:8080/workspaces/w/projects/p/code");
457 assert_eq!(name.as_deref(), Some("bob"));
458 }
459
460 #[test]
461 fn subdomain_fallback() {

Callers

nothing calls this directly

Calls 1

resolve_identity_nameFunction · 0.85

Tested by

no test coverage detected