MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / len

Method len

atomic-remote/src/streaming/layers.rs:199–201  ·  view source on GitHub ↗

Returns the number of selected layers.

(&self)

Source from the content-addressed store, hash-verified

197
198 /// Returns the number of selected layers.
199 pub fn len(&self) -> usize {
200 self.layers.len()
201 }
202
203 /// Returns an iterator over the selected layers.
204 pub fn iter(&self) -> impl Iterator<Item = &Layer> {

Callers 5

download_tagMethod · 0.45
deserializeFunction · 0.45
chunk_countMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected