package datakit-client-git

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
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 id : t -> string

id t is the unique ID of this commit.

val tree : t -> Tree.t result

tree t is the content of the commit.

val message : t -> string result

message t is t's log message.

val parents : t -> t list result

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.