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

Function full_domain_subdomain

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

Source from the content-addressed store, hash-verified

466
467 #[test]
468 fn full_domain_subdomain() {
469 let name =
470 resolve_identity_name("https://alice.atomic.storage/workspaces/w/projects/p/code");
471 assert_eq!(name.as_deref(), Some("alice"));
472 }
473
474 #[test]
475 fn no_subdomain_returns_none() {

Callers

nothing calls this directly

Calls 1

resolve_identity_nameFunction · 0.85

Tested by

no test coverage detected