Module Debug_protocol.Checksum

type t = {
algorithm : Checksum_algorithm.t;

The algorithm used to calculate this checksum.

checksum : string;

Value of the checksum.

}

The checksum of an item calculated by the specified algorithm.

val make : algorithm:Checksum_algorithm.t -> checksum:string -> t
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or