package git

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

This interface describes the minimal I/O operations to a git repository.

type endpoint
type socket
type error
val pp_error : Format.formatter -> error -> unit
val read : socket -> Bytes.t -> int -> int -> (int, error) result Lwt.t
val write : socket -> Bytes.t -> int -> int -> (int, error) result Lwt.t
val socket : endpoint -> socket Lwt.t
val close : socket -> unit Lwt.t