package irmin-unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = repo
val v : Irmin__.S.config -> t Lwt.t
val close : t -> unit Lwt.t
val heads : t -> commit list Lwt.t
val branches : t -> branch list Lwt.t
val export : ?full:bool -> ?depth:int -> ?min:commit list -> ?max:[ `Head | `Max of commit list ] -> t -> slice Lwt.t
val import : t -> slice -> (unit, [ `Msg of string ]) Stdlib.result Lwt.t
type elt = [
  1. | `Branch of branch
  2. | `Commit of hash
  3. | `Contents of hash
  4. | `Node of hash
]
val elt_t : elt Irmin__.Type.t
val default_pred_commit : t -> hash -> elt list Lwt.t
val default_pred_node : t -> hash -> elt list Lwt.t
val default_pred_contents : t -> hash -> elt list Lwt.t
val iter : ?cache_size:int -> min:elt list -> max:elt list -> ?edge:(elt -> elt -> unit Lwt.t) -> ?branch:(branch -> unit Lwt.t) -> ?commit:(hash -> unit Lwt.t) -> ?node:(hash -> unit Lwt.t) -> ?contents:(hash -> unit Lwt.t) -> ?skip_branch:(branch -> bool Lwt.t) -> ?skip_commit:(hash -> bool Lwt.t) -> ?skip_node:(hash -> bool Lwt.t) -> ?skip_contents:(hash -> bool Lwt.t) -> ?pred_branch:(t -> branch -> elt list Lwt.t) -> ?pred_commit:(t -> hash -> elt list Lwt.t) -> ?pred_node:(t -> hash -> elt list Lwt.t) -> ?pred_contents:(t -> hash -> elt list Lwt.t) -> ?rev:bool -> t -> unit Lwt.t
OCaml

Innovation. Community. Security.