package b0

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.