Module Client.Repo

type t = Raw.Client.Repo.t Capnp_rpc_lwt.Capability.t

A GitHub repository that is tested by opam-repo-ci.

val refs : t -> (git_hash Ref_map.t, [> `Capnp of Capnp_rpc.Error.t ]) Lwt_result.t

refs t returns the known Git references (branches and pull requests) that opam-repo-ci is monitoring, along with the current head of each one.

val commit_of_hash : t -> git_hash -> Commit.t

commit_of_hash t hash is the commit hash in this repository.

val commit_of_ref : t -> git_ref -> Commit.t

commit_of_ref t gref is the commit at the head of Git reference gref.