function

DigestArtifactHistory

func DigestArtifactHistory(identities []ArtifactIdentity) (string, error)

Hash one complete ordered migration filename/digest history.

Source migration/migration.go:34

@param identities
The identities value.
@returns
The declared result.

Rejects empty, malformed, duplicate, or out-of-order identities before returning the deterministic SHA-256 fingerprint embedded by ridu build.

Related types

  • ArtifactIdentity

    One migration file identity used to bind an executable to committed history.