package git

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

Install

Dune Dependency

Authors

Maintainers

Sources

git-3.13.0.tbz
sha256=f7cc36026cdefc1f9837f10d7d26f457c236cb21547fcad210e71483561b55d3
sha512=728f21c3483bdead9420767cb3e57901be1cff428fceb814be3cad817b2d78511d35f559962469e85d3919c59577884d353cb883ac749e6e2b92fb7d0deec4f4

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.