function
DigestArtifactHistory
Hash one complete ordered migration filename/digest history.
Arguments
| Argument | Type | Description |
|---|---|---|
identities | []ArtifactIdentity | The identities value. |
headDigest | string | The headDigest value. |
manifest | schema.Manifest | The manifest value. |
Returns
The declared result.
(string, error)How it works
Rejects empty, malformed, duplicate, or out-of-order identities before returning the deterministic SHA-256 fingerprint embedded by ridu build.
Full signature
func DigestArtifactHistory(
identities []ArtifactIdentity,
headDigest string,
manifest schema.Manifest,
) (string, error)Related types
ArtifactIdentityOne migration file identity used to bind an executable to committed history.
ManifestAn immutable versioned schema contract.