package irmin-git

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

Status provides base functions for store statuses.

type t = [
  1. | `Empty
  2. | `Branch of branch
  3. | `Commit of commit
]

The type for store status.

val t : repo -> t Irmin.Type.t

t is the value type for t.

val pp : t Fmt.t

pp is the pretty-printer for store status.

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

of_string r str parses the store status from the string str, using the base repository r.

OCaml

Innovation. Community. Security.