Documentation
cdbMake :: FilePath -> CDBMake -> IO ()Source
Construct a CDB as described inside the supplied CDBMake computation. During construction, it will be written to a temporary file and then moved over top of the given file atomically.
cdbAdd :: (Packable k, Packable v) => k -> v -> CDBMakeSource
Adds a given key-value pair to the CDB being built.
cdbAddMany :: (Packable k, Packable v) => [(k, v)] -> CDBMakeSource
Add a list of key-value pairs to the CDB being built.