Copyright | (c) 2014-2021 Amy de Buitléir |
---|---|
License | BSD-style |
Maintainer | amy@nualeargais.ie |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
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.
Synopsis
- 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.
Instances
mkCachedFSDatabase :: FilePath -> Int -> CachedFSDatabase r Source #
(re)creates the FSDatabase in the
directory mkFSDatabase
dd
.