package b0

  1. Overview
  2. Docs
Software construction care

Install

Dune Dependency

Authors

Maintainers

Sources

b0-0.0.0.tbz
sha256=dadde8cfa62be9dabd805fc190b415427b4699ffe3458c153e2f3f9cc5c9b9b4
md5=f96ac96fb0182f2b97dbe9ded452544b

doc/b0.care/B0_github/Repo/index.html

Module B0_github.Repo

GitHub repositories.

type t

The type for GitHub repositories.

val v : owner:string -> string -> t

repo ~owner name identifiers a GitHub repository.

val owner : t -> string

owner r is r's owner.

val name : t -> string

name r is r's name.

val req_json_v3 : ?headers:B0_web.Http.headers -> B0_web.Http.t -> auth -> t -> path:string -> B0_web.Http.meth -> v3_body -> (B0_web.Json.t, string) result

req_json_v3 is like req_json_v3 but performs given the root subpath on the given repo.

val query_v4 : B0_web.Http.t -> auth -> t -> string -> (B0_web.Json.t, string) result

query_v4 auth r q performs the subgraph query q on repo r using authentication auth.

OCaml

Innovation. Community. Security.