package git

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

Install

Dune Dependency

Authors

Maintainers

Sources

git-3.8.0.tbz
sha256=f6c628e3628d25686cec4cdff8132f9433e95938bdcb43975778d28d33a0b077
sha512=779bdd7a1657e859ed47b46ef9da007b5f43f4446f8cea831f29fae662efdd33a39aa2ee90b9f8d8b6360f2abb78038a7592633efa26e8adc5d2ae20d86d8015

doc/smart_git/Smart_git/Endpoint/index.html

Module Smart_git.EndpointSource

Sourcetype t = private {
  1. scheme : [ `SSH of string | `Git | `HTTP of (string * string) list | `HTTPS of (string * string) list | `Scheme of string ];
  2. port : int option;
  3. path : string;
  4. hostname : string;
}
Sourceval pp : t Fmt.t
Sourceval of_string : string -> (t, [> `Msg of string ]) Stdlib.result
Sourceval 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

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

Innovation. Community. Security.