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

Method graph_sections

atomic-core/src/change/format_v3/reader/sections.rs:332–334  ·  view source on GitHub ↗

Read only GRAPH sections, skipping everything else. This is the "thin pull" pattern: read only the storage/merge layer needed to apply a change, without downloading or decompressing the semantic layer or content chunks. All skipped sections are still fed through the blake3 hasher so that [`verify`](Self::verify) works correctly after this call. # Returns A vector of [`ReadSection`] where every

(&mut self)

Source from the content-addressed store, hash-verified

330 /// let hash = reader.verify()?; // still works
331 /// ```
332 pub fn graph_sections(&mut self) -> FormatResult<Vec<ReadSection>> {
333 self.sections_of_type(SectionType::Graph)
334 }
335
336 /// Read only SEMANTIC sections, skipping everything else.
337 ///

Calls 1

sections_of_typeMethod · 0.80