package irmin-git

  1. Overview
  2. Docs
Git backend for Irmin

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.10.0.tbz
sha256=92a9de7a0a2a35c2feba0c35a806b1f0df24c1c0d15164eebf3f919296d26715
sha512=0203ec5117a851ad5afeb2f9091659b4e142e231b6b945caab93f4d7beb23397c8ac43f7056e91d18f4bff0be1062f6ae966d221f877c229328c0cbbf29fd9f0

doc/irmin-git.unix/Irmin_git_unix/Maker/argument-1-G/index.html

Parameter Maker.G

include Git.S
type t
type hash
type error = private [>
  1. | `Msg of string
  2. | `Not_found of hash
  3. | `Reference_not_found of Git__.Reference.t
]
val pp_error : error Fmt.t
module Hash : sig ... end
module Value : sig ... end
module Reference : sig ... end
val dotgit : t -> Fpath.t
val root : t -> Fpath.t
val contents : t -> (hash * Value.t) list Lwt.t
val size : t -> hash -> (int64, error) result Lwt.t
val read : t -> hash -> (Value.t, error) result Lwt.t
val read_opt : t -> hash -> (Value.t option, [ `Msg of string ]) result Lwt.t
val read_exn : t -> hash -> Value.t Lwt.t
val mem : t -> hash -> bool Lwt.t
val list : t -> hash list Lwt.t
val write : t -> Value.t -> (hash * int, error) result Lwt.t
val batch_write : t -> hash -> pck:(unit -> string option Lwt.t) -> idx:(unit -> string option Lwt.t) -> (unit, error) result Lwt.t
val fold : t -> ('acc -> ?name:Fpath.t -> length:int64 -> hash -> Value.t -> 'acc Lwt.t) -> path:Fpath.t -> 'acc -> hash -> 'acc Lwt.t
val iter : t -> (hash -> Value.t -> unit Lwt.t) -> hash -> unit Lwt.t
module Ref : sig ... end
val reset : t -> (unit, error) result Lwt.t
val read_inflated : t -> hash -> ([ `Blob | `Commit | `Tag | `Tree ] * Cstruct.t) option Lwt.t
val write_inflated : t -> kind:[ `Blob | `Commit | `Tag | `Tree ] -> Cstruct.t -> hash Lwt.t
val is_shallowed : t -> hash -> bool Lwt.t
val shallowed : t -> hash list Lwt.t
val shallow : t -> hash -> unit Lwt.t
val unshallow : t -> hash -> unit Lwt.t
val has_global_watches : bool
val has_global_checkout : bool
val v : ?dotgit:Fpath.t -> Fpath.t -> (t, error) result Lwt.t
OCaml

Innovation. Community. Security.