Safe Haskell | None |
---|---|
Language | Haskell98 |
Directory hash database.
Respective files stored in a directory of the file system.
- Persistence: persistent
- Algorithm: undefined
- Complexity: undefined
- Sequence: undefined
- Lock unit: record (rwlock)
- data Dir
- data DirOptions = DirOptions {
- alignmentPow :: Maybe Int8
- freePoolPow :: Maybe Int8
- options :: [Options]
- buckets :: Maybe Int64
- maxSize :: Maybe Int64
- defragInterval :: Maybe Int64
- compressor :: Maybe Compressor
- cipherKey :: Maybe String
- defaultDirOptions :: DirOptions
- data Compressor
- data Options = Compress
- data Comparator
- makeDir :: FilePath -> LoggingOptions -> DirOptions -> Mode -> IO Dir
- openDir :: FilePath -> LoggingOptions -> Mode -> IO Dir
Documentation
data DirOptions Source
DirOptions | |
|
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.
makeDir :: FilePath -> LoggingOptions -> DirOptions -> Mode -> IO Dir Source