package current_gitlab

  1. Overview
  2. Docs

Module Api.CommitSource

A specific Git commit.

Sourcetype t

Identifier for a specific Git commit, which can be used to fetch it.

Sourceval set_status : t Current.t -> string -> Status.t Current.t -> unit Current.t

set_status commit context status sets the status of commit/context to status.

Sourceval owner_name : t -> string

owner_name t is the "owner/name" string identifying the repository.

Sourceval repo_id : t -> Repo_id.t

Construct a Repo_id.t that t belongs to.

Sourceval hash : t -> string

hash t is the Git commit hash of t.

Sourceval committed_date : t -> string

committed_date t is the datetime when t was committed.

Sourceval pp : t Fmt.t

Pretty print t.

Sourceval compare : t -> t -> int
Sourceval uri : t -> Uri.t

uri t is a URI for the GitLab web page showing t.

OCaml

Innovation. Community. Security.