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

Function attestation_vault_path

atomic-cli/src/commands/intent/bridge.rs:150–155  ·  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

148/// The tracked-vault path for an intent's attestation:
149/// `attestations/<sanitized-normalized-id>/attested.md`.
150pub fn attestation_vault_path(repo: &Repository, id: &str) -> CliResult<String> {
151 Ok(format!(
152 "attestations/{}/attested.md",
153 sanitize_id(&normalized_id(repo, id)?)
154 ))
155}
156
157/// The directory that holds an intent's canonical sidecar artifacts:
158/// `<dot_dir>/canonical/intents/<sanitized-normalized-id>/`. Keyed off the SAME

Callers 5

load_attestationFunction · 0.70
write_trackedFunction · 0.70
runMethod · 0.70
write_trackedFunction · 0.70

Calls

no outgoing calls

Tested by 2

runMethod · 0.56