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

Function userinfo_takes_priority

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

Source from the content-addressed store, hash-verified

626
627 #[test]
628 fn userinfo_takes_priority() {
629 let name =
630 resolve_identity_name("http://bob@alice.localhost:8080/workspaces/w/projects/p/code");
631 assert_eq!(name.as_deref(), Some("bob"));
632 }
633
634 #[test]
635 fn subdomain_fallback() {

Callers

nothing calls this directly

Calls 1

resolve_identity_nameFunction · 0.85

Tested by

no test coverage detected