package git-unix

  1. Overview
  2. Docs

The resulting hashes and references.

val head_contents : fetch -> Git.Reference.head_contents option

head_contents f is f's head contents (the value of the remote .git/HEAD).

val head : fetch -> Git.Hash.Commit.t option

head f is f's head commit.

references f are f's references.

val hashes : fetch -> Git.Hash.Set.t

hashes f are f's object hashes.

val pp_fetch : fetch Fmt.t

pp_fetch is the pretty-printer for fetch values.

type ok_or_error = [
  1. | `Ok
  2. | `Error of string
]
type push = Git.Sync.Result.push = {
  1. result : ok_or_error;
  2. commands : (Git.Reference.t * ok_or_error) list;
}

The result of a push operation.

val pp_push : push Fmt.t

pp_push is the pretty-printer for push values.

OCaml

Innovation. Community. Security.