package lmdb
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Collection of maps stored in a single memory-mapped file.
module Flags = Mdb.EnvFlags
val create :
_ perm ->
?max_readers:int ->
?map_size:int ->
?max_maps:int ->
?flags:Flags.t ->
?mode:int ->
string ->
t
create perm path
creates an environment with Ro
or Rw
permissions with data and lock files in the already existing directory path
. If no separate directory is desired, Flags.no_subdir
can be passed.
The returned handle is not garbage collected and should be closed explicitely to free locks and prevent corruption on async environments.
val sync : ?force:bool -> t -> unit
val close : t -> unit
val copy : ?compact:bool -> t -> string -> unit
val copyfd : ?compact:bool -> t -> Unix.file_descr -> unit
val set_map_size : t -> int -> unit
val path : t -> string
val fd : t -> Unix.file_descr
val info : t -> Mdb.envinfo
val max_readers : t -> int
val max_keysize : t -> int
val reader_list : t -> string list
val reader_check : t -> int
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>