package irmin-fs

  1. Overview
  2. Docs
Generic file-system backend for Irmin

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.7.2.tbz
sha256=6aa5ba4c6a0233747d4bd3ab396f2b3a33bb80f9d8ed4a178c83a035033c0e52
sha512=8a5506a57e8569a11c883ca25b3c60ae7a9a03c2da111668193d7b4296434c43f1a310e78f189e4b38c234da790259d2961c6a0ae481282c18bb97f618fccfb6

doc/irmin-fs.unix/Irmin_fs_unix/Make/Repo/index.html

Module Make.Repo

type t = repo
val v : Irmin__.Conf.t -> t Lwt.t
val config : t -> Irmin__.Conf.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 ]) result Lwt.t
type elt = [
  1. | `Branch of branch
  2. | `Commit of commit_key
  3. | `Contents of contents_key
  4. | `Node of node_key
]
val elt_t : elt Irmin__.Type.t
val default_pred_commit : t -> commit_key -> elt list Lwt.t
val default_pred_node : t -> node_key -> elt list Lwt.t
val default_pred_contents : t -> contents_key -> 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:(commit_key -> unit Lwt.t) -> ?node:(node_key -> unit Lwt.t) -> ?contents:(contents_key -> unit Lwt.t) -> ?skip_branch:(branch -> bool Lwt.t) -> ?skip_commit:(commit_key -> bool Lwt.t) -> ?skip_node:(node_key -> bool Lwt.t) -> ?skip_contents:(contents_key -> bool Lwt.t) -> ?pred_branch:(t -> branch -> elt list Lwt.t) -> ?pred_commit:(t -> commit_key -> elt list Lwt.t) -> ?pred_node:(t -> node_key -> elt list Lwt.t) -> ?pred_contents:(t -> contents_key -> elt list Lwt.t) -> ?rev:bool -> t -> unit Lwt.t
val breadth_first_traversal : ?cache_size:int -> max:elt list -> ?branch:(branch -> unit Lwt.t) -> ?commit:(commit_key -> unit Lwt.t) -> ?node:(node_key -> unit Lwt.t) -> ?contents:(contents_key -> unit Lwt.t) -> ?pred_branch:(t -> branch -> elt list Lwt.t) -> ?pred_commit:(t -> commit_key -> elt list Lwt.t) -> ?pred_node:(t -> node_key -> elt list Lwt.t) -> ?pred_contents:(t -> contents_key -> elt list Lwt.t) -> t -> unit Lwt.t
OCaml

Innovation. Community. Security.