package mgit

Build not yet checked
  1. Overview
  2. Docs
Git in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mgit-0.1.0.tbz
sha256=6fad812ce53e69e045c4d53d958fc0f12c13900841348dd37f0ba6dd0db2ba8d
sha512=3c2427bc9ee42748aa99540582125aea989dca574493ef46cae70d67ab005c517f079c6c537507b3cb53544811864d52d30df22993b7c297f6a6521f6484ff82

doc/mgit.unix/Mgit_unix/Block/index.html

Module Mgit_unix.BlockSource

Sourceval error_msgf : ('a, Format.formatter, unit, ('b, [> `Msg of string ]) result) format4 -> 'a
Sourcetype t = {
  1. fd : Unix.file_descr;
  2. sector_size : int;
  3. length : int;
  4. mutex : Mutex.t;
}
Sourceval sector_size : t -> int
Sourceval length : t -> int
Sourceval pread : Unix.file_descr -> bytes -> off:int -> unit
Sourceval pwrite : Unix.file_descr -> bytes -> off:int -> unit
Sourceval atomic_read : t -> src_off:int -> ?dst_off:??? -> Bstr.t -> unit
Sourceval atomic_write : t -> ?src_off:??? -> dst_off:int -> Bstr.t -> unit
Sourceval of_fd : sector_size:int -> Unix.file_descr -> t
Sourceval check_sector_size : int -> (unit, [> `Msg of string ]) result
Sourceval load : ?sector_size:??? -> string -> (t, [> `Msg of string ]) result
Sourceval create : ?sector_size:??? -> string -> int -> (t, [> `Msg of string ]) result
Sourceval close : t -> unit