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/src/mgit.blk/device.ml.html

Source file device.ml

1
2
3
4
5
6
7
8
9
10
(* NOTE(dinosaure): see [Mkernel.Block] *)

module type S = sig
  type t

  val sector_size : t -> int
  val length : t -> int
  val atomic_read : t -> src_off:int -> ?dst_off:int -> Bstr.t -> unit
  val atomic_write : t -> ?src_off:int -> dst_off:int -> Bstr.t -> unit
end