MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / put_list

Method put_list

codegraph-kernel/src/buffers.rs:167–173  ·  view source on GitHub ↗
(&mut self, items: &[String])

Source from the content-addressed store, hash-verified

165 /// typeParameters, candidates.)
166 #[allow(dead_code)]
167 pub fn put_list(&mut self, items: &[String]) -> StrRef {
168 if items.is_empty() {
169 return NONE_STR;
170 }
171 let joined = items.join("\0");
172 self.put(&joined)
173 }
174
175 pub fn len(&self) -> u32 {
176 self.buf.len() as u32

Callers 2

create_nodeMethod · 0.80
create_nodeMethod · 0.80

Calls 2

putMethod · 0.65
joinMethod · 0.45

Tested by

no test coverage detected