package git

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

Install

Dune Dependency

Authors

Maintainers

Sources

git-3.18.0.tbz
sha256=925795627e6daae0b4bd16aa506879df11cb201e65fefe38e81378f18d517d4b
sha512=8e407d49808ec26445b0c706f7b010b35050d274b534e265487cb82bcac1f29cd5c41365851d42f84794ddbceb57b90143768a23154117e902b45419d156c410

doc/smart_git/Smart_git/Make/argument-2-Pack/index.html

Parameter Make.Pack

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.