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

Method intent_dir_for

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

905 /// session, or turn nesting is needed (those are recorded as provenance
906 /// metadata on the intent instead).
907 fn intent_dir_for(&self, uid: &str) -> String {
908 format!("intents/{}", uid)
909 }
910
911 /// Build the vault-relative path for an intent file: `intents/<ulid>/intent.md`.
912 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