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

Method thin_pull

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

Thin pull: graph + content only. Downloads the minimum needed to **apply** a change to the local repository. Semantic sections are skipped — they can be regenerated locally from graph + content. Typical savings: ~40% smaller download (semantic is ~40% of a change).

()

Source from the content-addressed store, hash-verified

65 ///
66 /// Typical savings: ~40% smaller download (semantic is ~40% of a change).
67 pub fn thin_pull() -> Self {
68 let mut layers = HashSet::new();
69 layers.insert(Layer::Graph);
70 layers.insert(Layer::Content);
71 Self { layers }
72 }
73
74 /// Thin review: semantic + content only.
75 ///

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected