package irmin-git

  1. Overview
  2. Docs
Git backend for Irmin

Install

dune-project
 Dependency

Authors

Maintainers

Sources

irmin-3.11.0.tbz
sha256=09996fbcc2c43e117a9bd8e9028c635e81cccb264d5e02d425ab8b06bbacdbdb
sha512=0391a6bf7b94a1edd50a3a8df9e58961739fa78d7d689d61f56bc87144483bad2ee539df595c33d9d52c29b3458da5dddf3a73b5eb85e49c4667c26d2cd46be1

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

Module G.Ref

val list : t -> (Reference.t * hash) list Lwt.t

list state returns an associated list between reference and its bind hash.

val mem : t -> Reference.t -> bool Lwt.t

mem state ref returns true iff ref exists in state, otherwise returns false.

read state reference returns the value contains in the reference reference (available in the git repository state).

val resolve : t -> Reference.t -> (hash, error) result Lwt.t

resolve state reference returns obj-id pointed at by reference (available in the git repository state).

val write : t -> Reference.t -> Reference.contents -> (unit, error) result Lwt.t

write state reference value writes the value value in the mutable representation of the reference in the git repository state.

val remove : t -> Reference.t -> (unit, error) result Lwt.t

remove state reference removes the reference reference from the git repository state.