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

Function attestation_vault_path

atomic-repository/src/intent_bridge.rs:136–141  ·  view source on GitHub ↗

The tracked-vault path for an intent's attestation: `attestations/ /attested.md`.

(repo: &Repository, id: &str)

Source from the content-addressed store, hash-verified

134/// The tracked-vault path for an intent's attestation:
135/// `attestations/<sanitized-normalized-id>/attested.md`.
136pub fn attestation_vault_path(repo: &Repository, id: &str) -> BridgeResult<String> {
137 Ok(format!(
138 "attestations/{}/attested.md",
139 sanitize_id(&normalized_id(repo, id)?)
140 ))
141}
142
143/// The directory that holds an intent's canonical sidecar artifacts:
144/// `<dot_dir>/canonical/intents/<sanitized-normalized-id>/`. Keyed off the SAME

Callers 3

load_attestationFunction · 0.70
write_trackedFunction · 0.70

Calls

no outgoing calls

Tested by 1