package index

  1. Overview
  2. Docs
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.