package irmin-git

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module B : Irmin.Branch.S

Signature

include Irmin.Branch.S

Signature for Branches

type t

The type for branches.

val t : t Irmin.Type.t

t is the value type for t.

val pp : t Fmt.t

pp pretty-prints branches.

val of_string : string -> (t, [ `Msg of string ]) Result.result

of_string parses branch names.

val master : t

The name of the master 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 ]) result
OCaml

Innovation. Community. Security.