Irmin_git.Reference
one-to-one mapping between Irmin and Git references.
module type S = sig ... end
type t = [
|
`Branch of string
`Remote of string
`Tag of string
`Other of string
]
The type for Git references. Use the Branch module to only deal with `Branch values.
Branch
`Branch
include S with type t := t
include Irmin.Branch.S with type t := t
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