| |||||||||
| |||||||||
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 | |||||||||
| |||||||||
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. | |||||||||
SystemFS (SystemFS) | |||||||||
IOMode (ReadMode, WriteMode, AppendMode, ReadWriteMode) | |||||||||
Produced by Haddock version 0.8 |