package mgit

  1. Overview
  2. Docs

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