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

Method section

atomic-cli/src/commands/change/tree.rs:25–29  ·  view source on GitHub ↗
(&mut self, section: Self)

Source from the content-addressed store, hash-verified

23 }
24
25 fn section(&mut self, section: Self) {
26 if !section.children.is_empty() {
27 self.children.push(section);
28 }
29 }
30
31 fn render(&self) -> String {
32 let mut out = format!("{}\n", clean(&self.label));

Callers 2

renderFunction · 0.80
attestationFunction · 0.80

Calls 2

is_emptyMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected