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

Method collect_atom_hashes

atomic-core/src/change/change.rs:956–964  ·  view source on GitHub ↗
(
            atom: &Atom<Option<Hash>>,
            table: &mut format_v3::HashDedupTable,
        )

Source from the content-addressed store, hash-verified

954 }
955
956 fn collect_atom_hashes(
957 atom: &Atom<Option<Hash>>,
958 table: &mut format_v3::HashDedupTable,
959 ) -> Result<(), format_v3::FormatError> {
960 match atom {
961 Atom::Insertion(v) => collect_insertion_hashes(v, table),
962 Atom::EdgeUpdate(em) => collect_edge_update_hashes(em, table),
963 }
964 }
965
966 for hunk in &self.hashed.hunks {
967 match hunk {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected