smart_git
Smart_git.Endpoint
git
git.loose
git.loose-git
git.loose-lwt
git.nss
hkt
neg
pck
pkt_line
sigs
smart
smart_flow
unixiz
type t = private {
scheme : [ `SSH of string | `Git | `HTTP of (string * string) list | `HTTPS of (string * string) list ];
port : int option;
path : string;
host : [ `Addr of Ipaddr.t | `Domain of [ `host ] Domain_name.t ];
}
val pp : t Fmt.t
val of_string : string -> (t, [> `Msg of string ]) Stdlib.result
val with_headers_if_http : (string * string) list -> t -> t
with_headers_if_http hdrs edn if endpoint edn is `HTTP or `HTTPS adds hdrs to edn
with_headers_if_http hdrs edn
edn
`HTTP
`HTTPS
hdrs
val to_ctx : t -> Mimic.ctx -> Mimic.ctx