package git

All checked builds pass
  1. Overview
  2. Docs
Git format and protocol in pure OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

git-3.19.0.tbz
sha256=227385f431a39cda22094615ae4c9d834bc91d51cc2d82e1739db307f9987c6d
sha512=29842d41018a3b6607be9da5967c215fd42ea047a529de3a19d9f51048db67842acbdae572eb0bb2e59f3d181fd787f3f0c304e7538112ebbaa310f1b6ab498b

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