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

show_session_detailFunction · 0.45
todo_status_markerFunction · 0.45
get_ignore_templateFunction · 0.45
build_provenanceMethod · 0.45
parse_algorithmMethod · 0.45
runMethod · 0.45
search_termsFunction · 0.45
memory_path_from_nodeFunction · 0.45
frontmatter_kindFunction · 0.45
frontmatter_stringFunction · 0.45
frontmatter_labelsFunction · 0.45

Calls

no outgoing calls