package git

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.