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

Method resolve_intent_key

atomic-repository/src/repository/vault_intent.rs:1142–1144  ·  view source on GitHub ↗

Resolve a user-supplied intent reference to its manifest key (human key). Public entry point so callers outside the repository (e.g. the CLI attestation bridge) share a single resolution implementation.

(&self, id: &str)

Source from the content-addressed store, hash-verified

1140 /// key). Public entry point so callers outside the repository (e.g. the
1141 /// CLI attestation bridge) share a single resolution implementation.
1142 pub fn resolve_intent_key(&self, id: &str) -> Result<String, RepositoryError> {
1143 self.normalize_intent_id(id)
1144 }
1145
1146 /// Normalize a user-supplied intent reference to its manifest key (the
1147 /// human key `PROJECT::author::seq`).

Callers 1

normalized_idFunction · 0.80

Calls 1

normalize_intent_idMethod · 0.80

Tested by

no test coverage detected