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

Method is_mapped

atomic-repository/src/repository/projection_commit.rs:113–115  ·  view source on GitHub ↗

Whether the email has an explicit configured mapping (vs. a synthesized foreign DID that must be flagged in provenance).

(&self, email: &str)

Source from the content-addressed store, hash-verified

111 /// Whether the email has an explicit configured mapping (vs. a
112 /// synthesized foreign DID that must be flagged in provenance).
113 pub fn is_mapped(&self, email: &str) -> bool {
114 self.entries.contains_key(email)
115 }
116}
117
118/// Deterministic foreign identity for an unmapped email (RFC §5.5).

Callers

nothing calls this directly

Calls 1

contains_keyMethod · 0.80

Tested by

no test coverage detected