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

Method put_list

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

Source from the content-addressed store, hash-verified

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

Callers 2

create_nodeMethod · 0.80
create_nodeMethod · 0.80

Calls 2

putMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected