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

Method is_empty

src/models/chunked_list.rs:91–93  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

89 }
90
91 pub fn is_empty(&self) -> bool {
92 self.items.read().unwrap().is_empty()
93 }
94
95 pub fn iter(&self) -> impl Iterator<Item = LazyItem<T>> {
96 self.items.read().unwrap().clone().into_iter()

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected