Skip to main content

semantic_commit_fingerprint

Function semantic_commit_fingerprint 

Source
pub fn semantic_commit_fingerprint(
    namespace_id: &NamespaceId,
    actor: &ActorRef,
    message: Option<&str>,
    operations: &[FilesystemOperation],
) -> Result<String, SemanticFingerprintError>
Expand description

Computes the semantic fingerprint used to validate a reused commit ID.

A single-operation helper and a one-item batch produce the same input and therefore the same fingerprint.