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

Method group

atomic-canonical/src/render.rs:277–284  ·  view source on GitHub ↗
(&mut self, label: &str, children: Vec<Self>)

Source from the content-addressed store, hash-verified

275 }
276
277 fn group(&mut self, label: &str, children: Vec<Self>) {
278 if !children.is_empty() {
279 self.children.push(Self {
280 label: label.into(),
281 children,
282 });
283 }
284 }
285
286 fn render(&self) -> String {
287 fn clean(label: &str) -> String {

Callers 2

render_cliFunction · 0.80
new_intentFunction · 0.80

Calls 2

is_emptyMethod · 0.45
pushMethod · 0.45

Tested by 1

new_intentFunction · 0.64