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

Method project_code

atomic-core/src/pristine/vault.rs:338–344  ·  view source on GitHub ↗

The project code used in human keys (falls back to `VAULT`).

(&self)

Source from the content-addressed store, hash-verified

336
337 /// The project code used in human keys (falls back to `VAULT`).
338 pub fn project_code(&self) -> &str {
339 if self.intent_prefix.is_empty() {
340 "VAULT"
341 } else {
342 &self.intent_prefix
343 }
344 }
345
346 /// Allocate the next per-author sequence number, advancing that author's
347 /// counter. Each author has an independent counter so offline teammates

Callers 2

vault_intent_createMethod · 0.80
normalize_intent_idMethod · 0.80

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected