package index

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

Install

Dune Dependency

Authors

Maintainers

Sources

index-1.1.0.tbz
sha256=a2966d8aa7d318daea3474ca53c6f0239759ca5c966d36e084758adc49eadfef
sha512=45cff0b3665ca375dfc329faad3a598fe306e47a715ce0abf7842fd119af20591d1568b9c8779ff1a382ed089bdbdf167bf5712ae8da7d86cac9afaebafb8324

doc/index/Index/module-type-IO/index.html

Module type Index.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
module Mutex : sig ... end
type async
val async : (unit -> 'a) -> async
val await : async -> unit
val return : unit -> async
val yield : unit -> unit
OCaml

Innovation. Community. Security.