package index

  1. Overview
  2. Docs
A platform-agnostic multi-level index for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

index-1.0.1.tbz
sha256=7f2f9efe3ed8b0a434ddf819c835f12ec03c21bc6f9ca6b7904407f146e60680
sha512=47a62af9a60a059dd4b40a32d841b1afa87a64e6cd65024dbf26622b30e7187e5cc482279143d87e4216fb94d7c9cfcf4c19bedbe7f930877b200a637a858092

doc/index.unix/Index_unix/Private/IO/index.html

Module Private.IO

type t
val v : readonly:bool -> fresh:bool -> generation:int64 -> fan_size:int64 -> string -> t
val name : t -> string
val offset : t -> int64
val force_offset : t -> int64
val readonly : t -> bool
val read : t -> off:int64 -> len:int -> bytes -> int
val clear : ?keep_generation:bool -> t -> unit
val sync : t -> unit
val version : t -> string
val set_generation : t -> int64 -> unit
val get_generation : t -> int64
val set_fanout : t -> string -> unit
val get_fanout : t -> string
val rename : src:t -> dst:t -> unit
val append : t -> string -> unit
val close : t -> unit
type lock
val lock : string -> lock
val unlock : lock -> unit
exception Bad_Read
module Mutex : sig ... end
val async : (unit -> 'a) -> unit
OCaml

Innovation. Community. Security.