package lmdb
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Lmdb.Env
Source
Collection of maps stored in a single memory-mapped file.
Source
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.