Module Branch.Key

Base functions on keys.

Signature for Branches

type t = key

The type for branches.

val t : t Type.t
val main : t

The name of the main branch.

val encoding : t Data_encoding.t

encoding is the data_encoding for t.

val is_valid : t -> bool

Check if the branch is valid.