MissingH API ManualContentsIndex
MissingH.AnyDBM.StringDBM
Portability portable
Stability provisional
Maintainer 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
data StringDBM
openStringDBM :: FilePath -> IOMode -> IO StringDBM
openStringVDBM :: HVFSOpenable a => a -> FilePath -> IOMode -> IO StringDBM
data SystemFS = SystemFS
Documentation
data StringDBM
The type of the StringDBM instances.
Instances
AnyDBM 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.

data SystemFS
Constructors
SystemFS
Instances
HVFS SystemFS
HVFSOpenable SystemFS
Eq SystemFS
Show SystemFS
Produced by Haddock version 0.6