package git

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

Install

Dune Dependency

Authors

Maintainers

Sources

git-3.6.0.tbz
sha256=b148810ea65aef76503a0fd5deb351fa7307fd29f06ce93fdf43cc7add5c1b45
sha512=73e0a7ab2bf00102653ac14d47ac62f3dddcdb0e24f7c5e33226801331cf608bcbfba2f058b5cb612ba9313d6ab12b2d01556169239e5fb18ef1c14a9b1c1eaf

doc/smart_git/Smart_git/Make/argument-3-Index/index.html

Parameter Make.Index

type 'a rd = < rd : unit.. > as 'a
type 'a wr = < wr : unit.. > as 'a
type 'a mode =
  1. | Rd : < rd : unit > mode
  2. | Wr : < wr : unit > mode
  3. | RdWr : < rd : unit ; wr : unit > mode
type t
type uid
type 'a fd
type error
type +'a fiber = 'a Lwt.t
val pp_error : error Fmt.t
val create : ?trunc:bool -> mode:'a mode -> t -> uid -> ('a fd, error) Stdlib.result fiber
val map : t -> 'm rd fd -> pos:int64 -> int -> Bigstringaf.t
val append : t -> 'm wr fd -> string -> unit fiber
val move : t -> src:uid -> dst:uid -> (unit, error) Stdlib.result fiber
val close : t -> 'm fd -> (unit, error) Stdlib.result fiber
OCaml

Innovation. Community. Security.