Module Branch.Make

Parameters

module B : Irmin.Branch.S

Signature

inline

include Atomic_write.Key with type t = B.t
include Irmin.Branch.S with type t = B.t

Signature for Branches

type t = B.t

The type for branches.

val t : t Irmin.Type.t
val main : t

The name of the main branch.

val is_valid : t -> bool

Check if the branch is valid.

val pp_ref : t Fmt.t
val of_ref : string -> (t, [ `Msg of string ]) Stdlib.result