Safe Haskell | None |
---|---|
Language | Haskell98 |
File hash database.
File hash database: tipical DBM.
- Persistence: persistent
- Algorithm: hash table
- Complexity: O(1)
- Sequence: undefined
- Lock unit: record (rwlock)
- data Hash
- data HashOptions = HashOptions {
- alignmentPow :: Maybe Int8
- freePoolPow :: Maybe Int8
- options :: [Options]
- buckets :: Maybe Int64
- maxSize :: Maybe Int64
- defragInterval :: Maybe Int64
- compressor :: Maybe Compressor
- cipherKey :: Maybe String
- defaultHashOptions :: HashOptions
- data Compressor
- data Options = Compress
- data Comparator
- makeHash :: FilePath -> LoggingOptions -> HashOptions -> Mode -> IO Hash
- openHash :: FilePath -> LoggingOptions -> Mode -> IO Hash
Documentation
data HashOptions Source #
HashOptions | |
|
data Compressor Source #
Compression algorithm used. DEFLATE
is the default one.
General tuning options
Compress | Enable compression of the keys and the values |
data Comparator Source #
Comparator used in the tree. Lexical
by default.
makeHash :: FilePath -> LoggingOptions -> HashOptions -> Mode -> IO Hash Source #