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

Method custom

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

Create a custom selection from a set of layers.

(layers: impl IntoIterator<Item = Layer>)

Source from the content-addressed store, hash-verified

97
98 /// Create a custom selection from a set of layers.
99 pub fn custom(layers: impl IntoIterator<Item = Layer>) -> Self {
100 Self {
101 layers: layers.into_iter().collect(),
102 }
103 }
104
105 /// Parse from a query parameter value.
106 ///

Callers

nothing calls this directly

Calls 2

collectMethod · 0.45
into_iterMethod · 0.45

Tested by

no test coverage detected