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

Method put_list

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

Source from the content-addressed store, hash-verified

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