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

Method is_all

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

Returns `true` if all three layers are selected (full download).

(&self)

Source from the content-addressed store, hash-verified

185
186 /// Returns `true` if all three layers are selected (full download).
187 pub fn is_all(&self) -> bool {
188 self.layers.contains(&Layer::Graph)
189 && self.layers.contains(&Layer::Semantic)
190 && self.layers.contains(&Layer::Content)
191 }
192
193 /// Returns `true` if no layers are selected.
194 pub fn is_empty(&self) -> bool {

Callers 1

to_query_valueMethod · 0.80

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected