package git-unix

  1. Overview
  2. Docs
Virtual package to install and configure ocaml-git's Unix backend

Install

Dune Dependency

Authors

Maintainers

Sources

git-3.14.0.tbz
sha256=bb536af33a3661f02745789bf88a98574b16386adaab1ac90b7dcd74341a62c1
sha512=4c58388a72a603f3302a667b2dc6f3eea4ba90a988d873f6b2a13110bc19a4c697e4180d7bbc0a3e5a1e18fcfbc36a883542b4ffd0ffa15dbe2070ad35494d79

doc/git-unix/Git_unix/Store/Ref/index.html

Module Store.RefSource

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

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

Sourceval 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).

Sourceval 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).

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

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

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

OCaml

Innovation. Community. Security.