package github

  1. Overview
  2. Docs
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/Scope/index.html

Module Make.Scope

The Scope module abstracts GitHub's authorization scopes.

val to_string : Github_t.scope -> string

to_string scope is the string GitHub uses to indicate the scope constructor scope.

val of_string : string -> Github_t.scope option

scope_of_string scope is the constructor corresponding to the GitHub scope constructor scope if one exists.

val list_to_string : Github_t.scope list -> string

string_of_scopes scopes is the serialization for a list of scopes scopes which GitHub accepts as a set of scopes in its API.

val list_of_string : string -> Github_t.scope list option

scopes_of_string scopes are the scope constructors corresponding to the serialized list of constructors scopes.

val all : Github_t.scope list

all is a list containing every scope constructor known.

val max : Github_t.scope list

max is a list containing the mimimum scope constructors needed to enable full privilege.

OCaml

Innovation. Community. Security.