package git

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

Install

Dune Dependency

Authors

Maintainers

Sources

git-3.16.1.tbz
sha256=c035bdcccd9e4d2f48c6d9cdc65e61fc10838ecf1d8a6f2a376ae20a8a924803
sha512=8173b5f64ad2e142aa6bd7a1c5b7d895a9e3fbf90b192d8021a32abb9430b62dd426d4b9b5856698fbae1a1bca2c30a22c270f6d361874c3d846533320ca51ea

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.