Module type Branch.S

inline

include Atomic_write.Key
include Irmin.Branch.S

Signature for Branches

type 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