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

Method group

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

Source from the content-addressed store, hash-verified

233 }
234
235 fn group(&mut self, label: &str, children: Vec<Self>) {
236 if !children.is_empty() {
237 self.children.push(Self {
238 label: label.into(),
239 children,
240 });
241 }
242 }
243
244 fn render(&self) -> String {
245 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