Node binding for Sparkey.
Create a LogReader
for path
.
Open the LogReader
, invoking fn(err)
.
Synchronously open the LogReader
.
Close the LogReader
, invoking fn(err)
.
Synchronously close the LogReader
.
Create and return a LogIterator
.
Get the next key
and value
pair in the log. Invokes fn(err, key, value)
or fn(err, null, null)
if no keys remain.
End/destroy the LogIterator
.
Create a LogWriter
for path
. If no log exists at path
, it will be created.
Open the LogWriter
, invoking fn(err)
.
Synchronously open the LogWriter
.
Open the LogWriter
for appending, invoking fn(err)
.
Will error if the log does not exist.
Synchronously open the LogWriter
for append.
Will throw if the log does not exist.
Close the LogWriter
, invoking fn(err)
.
Synchronously close the LogWriter
.
Put key = value
, invoking fn(err)
.
Synchronously put key = value
.
Convert the given log
to a hash
, invoking fn(err)
.
Synchronously convert the given log
to a hash
.
MIT