package git

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

Install

Dune Dependency

Authors

Maintainers

Sources

git-3.17.0.tbz
sha256=ef200d0412ed1a538525d0501298890e0b893e020528094d6a3ae12359fd0265
sha512=793009a9bf9413147e6c43dfdc4bbe39b00129a5ea0f5d3df149ad2e27b4a3c641ca3b6857476a1cee325aad4d192625220647575470f00d02fb95f085bd9009

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.