Module Vcs.Platform_repo

A type to uniquely identify a repository hosted on a platform.

module Vcs_kind : sig ... end

Some platform support hosting Mercurial repositories. We use this type to distinguish.

type t = {
  1. platform : Platform.t;
  2. vcs_kind : Vcs_kind.t;
  3. user_handle : User_handle.t;
  4. repo_name : Repo_name.t;
}
val compare : t -> t -> int
val equal : t -> t -> bool
val hash : t -> int
val seeded_hash : int -> t -> int
val sexp_of_t : t -> Sexplib0.Sexp.t
module Protocol : sig ... end
module Ssh_syntax : sig ... end

There are two style of SSH addresses used by popular platforms.

module Url : sig ... end

A Url for a platform repo that is suitable to perform vcs operations, such as clone.

val to_url : t -> protocol:Protocol.t -> Url.t
val of_url : Url.t -> t