MCPcopy Create free account
hub / github.com/cosdata/cosdata / insert_inner

Method insert_inner

src/models/tree_map.rs:260–266  ·  view source on GitHub ↗
(&mut self, version: Box<Self>)

Source from the content-addressed store, hash-verified

258 }
259
260 fn insert_inner(&mut self, version: Box<Self>) {
261 if let Some(next) = &mut self.next {
262 return next.insert_inner(version);
263 }
264
265 self.next = Some(version);
266 }
267
268 pub fn latest(&self) -> Option<&T> {
269 if let Some(next) = &self.next {

Callers 2

insertMethod · 0.80
deleteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected