package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

dune-project
 Dependency

Authors

Maintainers

Sources

b0-0.0.6.tbz
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0

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

Module B0_github.RepoSource

GitHub repositories.

Sourcetype t

The type for GitHub repositories.

Sourceval make : owner:string -> string -> t

make ~owner name identifiers a GitHub repository.

Sourceval of_url : B0_url.t -> (t, string) result

of_url url parses an owner and repo name from the first two segments of url's path.

Sourceval owner : t -> string

owner r is r's owner.

Sourceval name : t -> string

name r is r's name.

Sourceval req_json_v3 : ?headers:B0_http.Http.headers -> B0_http.Http_client.t -> Auth.t -> t -> path:string -> B0_http.Http.method' -> v3_body -> (B0_json.Json.t, string) result

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

Sourceval query_v4 : B0_http.Http_client.t -> Auth.t -> t -> string -> (B0_json.Json.t, string) result

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