index.unix
Private.Raw
Raw wraps a file-descriptor with an file-format used internally by Index. The format contains the following header fields:
Raw
index
type t
The type of raw file handles.
raw
val v : Unix.file_descr -> t
Construct a raw value from a file descriptor.
val unsafe_write : t -> off:int64 -> string -> unit
val unsafe_read : t -> off:int64 -> len:int -> bytes -> int
val fsync : t -> unit
val close : t -> unit
val fstat : t -> Unix.stats
module Version : sig ... end
module Offset : sig ... end
module Generation : sig ... end
module Fan : sig ... end
module Header : sig ... end