LevelDB

expect fun LevelDB(path: String, options: LevelDBOptions = LevelDBOptions.DEFAULT): LevelDB

Creates a new instance of a LevelDB database at the specified file path.

Return

A LevelDB instance for interacting with the database.

Parameters

path

The file system path where the LevelDB database is located or will be created. It has to a directory. If the directory does not exist, it will be created only if LevelDBOptions.createIfMissing is set to true.

options

Configuration options for creating and managing the LevelDB instance, defaults to LevelDBOptions.DEFAULT.

actual fun LevelDB(path: String, options: LevelDBOptions): LevelDB
actual fun LevelDB(path: String, options: LevelDBOptions): LevelDB