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

Method collect_edge_update_hashes

atomic-core/src/change/change.rs:945–954  ·  view source on GitHub ↗
(
            em: &EdgeUpdate<Option<Hash>>,
            table: &mut format_v3::HashDedupTable,
        )

Source from the content-addressed store, hash-verified

943 }
944
945 fn collect_edge_update_hashes(
946 em: &EdgeUpdate<Option<Hash>>,
947 table: &mut format_v3::HashDedupTable,
948 ) -> Result<(), format_v3::FormatError> {
949 for e in &em.edges {
950 collect_new_edge_hashes(e, table)?;
951 }
952 collect_position_hash(&em.inode, table)?;
953 Ok(())
954 }
955
956 fn collect_atom_hashes(
957 atom: &Atom<Option<Hash>>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected