Platform_repo.UrlA Url for a platform repo that is suitable to perform vcs operations, such as clone.
type t = {platform : Platform.t;vcs_kind : Vcs_kind.t;user_handle : User_handle.t;repo_name : Repo_name.t;protocol : Protocol.t;}val hash : t -> intval seeded_hash : int -> t -> intval sexp_of_t : t -> Sexplib0.Sexp.tval to_string : t -> ssh_syntax:Ssh_syntax.t -> stringCreate a complete string suitable for use with git commands, such as remote add, clone, etc.
val to_url_string : t -> stringThis produces the url in a normalized form where ssh addresses are written using the Url_style syntax. Most vcs clients should be compatible with this.
If you are looking for some kind of systematic representation, you may probably prefer this over to_platform_string.
val to_platform_string : t -> stringThis is the same as to_string where the ssh_syntax parameter is determined by Ssh_syntax.used_by_default_on_platform.
val of_string : string -> (t, [ `Msg of string ]) Stdlib.Result.tParse a string into a url. This is able to parse both ssh syntaxes.
val v : string -> tA wrapper for of_string that raises Invalid_argument on invalid input.