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 = {
platform : Platform.t;
vcs_kind : Vcs_kind.t;
user_handle : User_handle.t;
repo_name : Repo_name.t;
}
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