package github
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
GitHub APIv3 OCaml Library
Install
dune-project
Dependency
Authors
Maintainers
Sources
github-3.0.1.tbz
sha256=6e66823ac5be96427616d07fa331be14df6658a15201bc63de537e8a2f96dda8
md5=031bf0e5679dbb9d2cfb9f12c5d9f3a7
doc/github/Github_core/Make/Collaborator/index.html
Module Make.Collaborator
The Collaborator module exposes Github's collaborators API.
val for_repo :
?token:Token.t ->
user:string ->
repo:string ->
unit ->
Github_t.linked_user Stream.tfor_repo ~user ~repo () is a stream of all collaborators in repo user/repo.
val exists :
?token:Token.t ->
user:string ->
repo:string ->
name:string ->
unit ->
bool Response.t Monad.texists ~user ~repo ~name () is true if name is a collaborator on repo user/repo.
val add :
?token:Token.t ->
user:string ->
repo:string ->
name:string ->
?permission:Github_t.team_permission ->
unit ->
unit Response.t Monad.tadd ~user ~repo ~name ?permission () adds name as a collaborator on repo user/repo with permission permission (default `Push).
val remove :
?token:Token.t ->
user:string ->
repo:string ->
name:string ->
unit ->
unit Response.t Monad.tremove ~user ~repo ~name () activates after name has been removed from the collaborator set on the repo user/repo.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>