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

Method graph_only

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

Graph only: no content or semantic. Downloads only the graph operations. Useful for dependency analysis and metadata inspection without downloading file content.

()

Source from the content-addressed store, hash-verified

90 /// Downloads only the graph operations. Useful for dependency analysis
91 /// and metadata inspection without downloading file content.
92 pub fn graph_only() -> Self {
93 let mut layers = HashSet::new();
94 layers.insert(Layer::Graph);
95 Self { layers }
96 }
97
98 /// Create a custom selection from a set of layers.
99 pub fn custom(layers: impl IntoIterator<Item = Layer>) -> Self {

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected