Module Current_github.Installation

type t

Details about a specific installation of a GitHub app.

val account : t -> string

The GitHub account name (organisation or owner) for this installation.

val api : t -> Api.t

Provides access to the API as this installation.

val pp : t Fmt.t

The GitHub account that installed the app.

val repositories : ?⁠include_archived:bool -> t Current.t -> Api.Repo.t list Current.t

repositories t evaluates to the list of repositories which the user configured for this installation.

parameter include_archived

If false (the default) then filter out archived repositories.

val compare : t -> t -> int

Order by installation ID.