= 768" x-on:close-sidebar="sidebar=window.innerWidth >= 768 && true">
ON THIS PAGE
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Job Targets
The type for computation targets. A target can either be a pull-request ID, e.g. a GitHub repository and a number; or a reference ID, e.g. a GitHub repository and a reference name (given as a list of string, e.g. "heads/master"
should be split into ["heads"]; ["master"]
).
val repo : t -> Datakit_github.Repo.t
repo t
is t
's repository.
val id : t -> [ `PR of int | `Ref of string list ]
id t
is t
's ID, e.g either a pull-request number or a reference name split on '/'
.
The type for resolved GitHub targets. Resolved pull-request and references contains the head commit and other metadata (see Datakit_github
's documentation for more details).
val head : v -> Datakit_github.Commit.t
head v
is the head commit of v
.
val repo_v : v -> Datakit_github.Repo.t
repo_v v
is v
's repository.
ON THIS PAGE