conex

Establishing trust in community repositories
IN THIS PACKAGE
type t = {
created : timestamp;
counter : Conex_utils.Uint.t;
epoch : Conex_utils.Uint.t;
name : identifier;
keys : Key.t Conex_utils.M.t;
valid : Expression.t;
delegations : Delegation.t list;
targets : Target.t list;
signatures : Signature.t Conex_utils.M.t;
}
val t : ?counter:Conex_utils.Uint.t -> ?epoch:Conex_utils.Uint.t -> ?keys:Key.t Conex_utils.M.t -> ?delegations:Delegation.t list -> ?targets:Target.t list -> ?signatures:Signature.t Conex_utils.M.t -> timestamp -> identifier -> Expression.t -> t
val add_signature : t -> identifier -> Signature.t -> t
val equal : t -> t -> bool

equal a b is true if all fields of a and b are equal.

pp t is a pretty printer for a targets.

val of_wire : Wire.t -> ( t * string list, string ) result

of_wire w converts w to a targets or error.

val wire : t -> Wire.t

wire t is the wire representation of t.

val wire_raw : t -> Wire.t

wire_raw t is the wire representation of t.