ReqManagedAgents.Evidence.Artifact.Ref (ReqManagedAgents v0.13.1)

Copy Markdown View Source

The relative evidence filename and SHA256 digest of its exact stored bytes.

Summary

Functions

Validates the artifact's fixed relative filename and lowercase SHA256.

Types

t()

@type t() :: %ReqManagedAgents.Evidence.Artifact.Ref{
  relative_path: String.t(),
  sha256: String.t()
}

Functions

new(attrs)

@spec new(map()) :: {:ok, t()} | {:error, ReqManagedAgents.Evidence.Error.t()}

Validates the artifact's fixed relative filename and lowercase SHA256.