Module Vcs.Url

module Protocol : sig ... end
type t = Vcs.Url.t = {
  1. platform : Vcs.Platform.t;
  2. protocol : Protocol.t;
  3. user_handle : Vcs.User_handle.t;
  4. 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 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
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.