package git

  1. Overview
  2. Docs
Git format and protocol in pure OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

git-3.2.0.tbz
sha256=2648d6a45263164936aeb4f61c1ffcb6078135626a317f400156ec62033c3893
sha512=fa19fe952331a50ad75b1a16193c46e3de2950c537e54b9e9d167b03502616bee10e36d8a114365645a8e4032b78a58d0567692106e9d6fb69f17b9964ebc3cb

doc/smart_git/Smart_git/Endpoint/index.html

Module Smart_git.Endpoint

type t = private {
  1. scheme : [ `SSH of string | `Git | `HTTP of (string * string) list | `HTTPS of (string * string) list ];
  2. port : int option;
  3. path : string;
  4. 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

val to_ctx : t -> Mimic.ctx -> Mimic.ctx
OCaml

Innovation. Community. Security.