Copyright | (c) Amy de Buitléir 2014-2016 |
---|---|
License | BSD-style |
Maintainer | amy@nualeargais.ie |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
A database that stores each record in a separate file and maintains a cache of recently-accessed records. The name of the file is the record's key.
- data CachedFSDatabase r
- mkCachedFSDatabase :: FilePath -> Int -> CachedFSDatabase r
Documentation
data CachedFSDatabase r Source #
A simple database where each record is stored in a separate file, and the name of the file is the record's key.
Eq r => Eq (CachedFSDatabase r) Source # | |
Show r => Show (CachedFSDatabase r) Source # | |
SizedRecord r => Database (CachedFSDatabase r) Source # | |
type DBRecord (CachedFSDatabase r) Source # | |
mkCachedFSDatabase :: FilePath -> Int -> CachedFSDatabase r Source #
(re)creates the FSDatabase in the
directory mkFSDatabase
dd
.