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

Method as_str

atomic-canonical/src/vocab.rs:27–37  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

25
26impl NodeType {
27 pub fn as_str(&self) -> &'static str {
28 match self {
29 NodeType::Intent => "Intent",
30 NodeType::AcceptanceCriterion => "AcceptanceCriterion",
31 NodeType::Task => "Task",
32 NodeType::ScopeItem => "ScopeItem",
33 NodeType::Constraint => "Constraint",
34 NodeType::Ref => "Ref",
35 NodeType::Memory => "Memory",
36 }
37 }
38}
39
40/// Intent status value set (mirrors the doc's `IntentShape` `sh:in`).

Callers 15

get_ignore_templateFunction · 0.45
build_provenanceMethod · 0.45
parse_algorithmMethod · 0.45
runMethod · 0.45
print_activity_chainFunction · 0.45
build_commit_messageMethod · 0.45
get_imported_shasMethod · 0.45
runMethod · 0.45
write_commitMethod · 0.45
runMethod · 0.45
kind_status_aboutFunction · 0.45

Calls

no outgoing calls