|
MissingH.AnyDBM.StringDBM | Portability | portable | Stability | provisional | Maintainer | John Goerzen <jgoerzen@complete.org> |
|
|
|
Description |
Written by John Goerzen, jgoerzen@complete.org
This AnyDBM implementation is very simple. It can store
data on-disk in a persistent fashion, using a very simple String
representation. While the file is open, an in-memory cache is maintained.
The data is written out during a call to flush or close.
|
|
Synopsis |
|
|
|
Documentation |
|
data StringDBM |
The type of the StringDBM instances.
| Instances | |
|
|
openStringDBM :: FilePath -> IOMode -> IO StringDBM |
Opens a StringDBM file. Please note: only ReadMode, WriteMode,
and ReadWriteMode are supported for the IOMode. AppendMode is not supported.
openStringDBM = openStringVDBM SystemFS
|
|
openStringVDBM :: HVFSOpenable a => a -> FilePath -> IOMode -> IO StringDBM |
Opens a StringDBM file. Please note: only ReadMode, WriteMode,
and ReadWriteMode are supported for the IOMode. AppendMode is not supported.
To work on your system's normal (real) filesystem, just specify
SystemFS for the first argument.
|
|
data SystemFS |
Constructors | | Instances | |
|
|
Produced by Haddock version 0.8 |