datakit-github
Abstraction of the GitHub API, suitable for DataKit clients
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library datakit-github
GitHub snapshot
val empty : t
The empty snapshot.
val v :
repos:Repo.Set.t ->
commits:Commit.Set.t ->
status:Status.Set.t ->
prs:PR.Set.t ->
refs:Ref.Set.t ->
t
v ~repos ~commits ~status ~prs ~refs
is a new snapshot t
with repositories reps
, commits commits
, pull-requests prs
, build statuses status
and Git references refs
.
Diffs
Elements
val repos : t -> Repo.Set.t
repos t
are t
's repository.
val commits : t -> Commit.Set.t
commits t
are t
's commits.
val status : t -> Status.Set.t
status t
are t
's build status.
val without_repos : Repo.Set.t -> t -> t