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

Method intent_dir_for

atomic-repository/src/repository/vault_intent.rs:780–782  ·  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

778 /// session, or turn nesting is needed (those are recorded as provenance
779 /// metadata on the intent instead).
780 fn intent_dir_for(&self, uid: &str) -> String {
781 format!("intents/{}", uid)
782 }
783
784 /// Build the vault-relative path for an intent file: `intents/<ulid>/intent.md`.
785 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