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

Method intent_dir_for

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

1112 /// session, or turn nesting is needed (those are recorded as provenance
1113 /// metadata on the intent instead).
1114 fn intent_dir_for(&self, uid: &str) -> String {
1115 format!("intents/{}", uid)
1116 }
1117
1118 /// Build the vault-relative path for an intent file: `intents/<ulid>/intent.md`.
1119 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