Smart_git.EndpointSourcetype t = private {scheme : [ `SSH of string
| `Git
| `HTTP of (string * string) list
| `HTTPS of (string * string) list
| `Scheme of string ];port : int option;path : string;host : [ `Addr of Ipaddr.t
| `Domain of [ `host ] Domain_name.t
| `Name of string ];}with_headers_if_http hdrs edn if endpoint edn is `HTTP or `HTTPS adds hdrs to edn