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.18.0.tbz
sha256=925795627e6daae0b4bd16aa506879df11cb201e65fefe38e81378f18d517d4b
sha512=8e407d49808ec26445b0c706f7b010b35050d274b534e265487cb82bcac1f29cd5c41365851d42f84794ddbceb57b90143768a23154117e902b45419d156c410

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.