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

Method intent_dir_for

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

Build the vault-relative directory for an intent: `intents/ /`. The ULID alone guarantees a unique, collision-free path — no view, session, or turn nesting is needed (those are recorded as provenance metadata on the intent instead).

(&self, uid: &str)

Source from the content-addressed store, hash-verified

1089 /// session, or turn nesting is needed (those are recorded as provenance
1090 /// metadata on the intent instead).
1091 fn intent_dir_for(&self, uid: &str) -> String {
1092 format!("intents/{}", uid)
1093 }
1094
1095 /// Build the vault-relative path for an intent file: `intents/<ulid>/intent.md`.
1096 fn intent_file_for(&self, uid: &str) -> String {

Callers 1

vault_intent_createMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected