Skip to main content

compute_commit_id

Function compute_commit_id 

Source
pub fn compute_commit_id(
    parent_ids: &[CommitId],
    author: &Author,
    delta: &Delta,
    metadata: &Metadata,
) -> CommitId
Expand description

Computes the content-addressed id for a would-be commit. Pure function: identical inputs always yield the identical id.