Vcs.Url
module Protocol : sig ... end
type t = Vcs.Url.t = {
platform : Vcs.Platform.t;
protocol : Protocol.t;
user_handle : Vcs.User_handle.t;
repo_name : Vcs.Repo_name.t;
}
include Ppx_hash_lib.Hashable.S with type t := t
val hash_fold_t : t Base__Ppx_hash_lib.hash_fold
include module type of Vcs.Url with type t := t and module Protocol := Protocol
val hash : t -> int
val seeded_hash : int -> t -> int
val sexp_of_t : t -> Sexplib0.Sexp.t
val to_string : t -> string
Create a complete string suitable for use with git commands, such as remote add, clone, etc.
val of_string : string -> (t, [ `Msg of string ]) Stdlib.Result.t
Parse a string into a url.
val v : string -> t
A wrapper for of_string
that raises Invalid_argument
on invalid input.