Module type Branch.S

The signature for branches. Irmin branches are similar to Git branches: they are used to associated user-defined names to head commits. Branches have a default value: the main branch.

Signature for Branches

type t

The type for branches.

val t : t Type.t
val main : t

The name of the main branch.

val is_valid : t -> bool

Check if the branch is valid.