type t

An immutable snapshot of a target's state.

val parents : t -> string list

parents t is the list of hashes of t's parent commits.

val jobs : t -> string CI_output.t Astring.String.Map.t

jobs t returns the list of jobs and their outputs at t.

val metadata_commit : t -> string option

metadata_commit t is the hash of the Git commit in github-metadata that was the build context.

val source_commit : t -> string option

source_commit t is the hash of the Git commit that triggered the build.

val empty : t

empty is a state with no jobs and no parents.

val equal : t -> t -> bool
val pp : t Fmt.t