Current_gitlab.ApiAccess to the GitLab API.
val webhook_secret : t -> stringWebhook secret to validate payloads from GitLab.
module Status : sig ... endStatus associated with a single Commit.t.
module Commit : sig ... endA specific Git commit.
module Repo : sig ... endA Project's repository on GitLab.
module Ref : sig ... endA Ref as an indirect way of referring to a commit.
head_commit t repo evaluates to the commit at the head of the default branch in repo.
ci_refs t repo evaluates to the list of branches and open PRs in repo.
val refs : t -> Repo_id.t -> refs Current.Primitive.trefs t repo is the primitive for all the references in repo.
This is the low-level API for getting the refs. It is used internally by ci_refs and head_of but in some cases you may want to use it directly, default_ref and all_refs will expose useful information for you. The result is cached (so calling it twice will return the same primitive).
default_ref refs will return the full name of the repository's default branch ref.
all_refs refs will return a map of all the repository's refs.
module Anonymous : sig ... endPerform Anonymous request to GitLab.
val cmdliner : t Cmdliner.Term.tCommand-line options to generate a GitLab configuration t.