package datakit-github

  1. Overview
  2. Docs
type t

A t is an immutable commit in the database.

val pp : t Fmt.t

pp is the pretty-printer for commits IDs.

val compare : t -> t -> int

compare compares commit IDs.

val tree : t -> Tree.t

tree t is the content of the commit.

val id : t -> string

id t is the unique ID of this commit.

val message : t -> string or_error Lwt.t

message t is t's log message.

val parents : t -> t list or_error Lwt.t

parents t is the list of t's parent commits.

diff a b returns the paths with differences between a and b.

OCaml

Innovation. Community. Security.