Module twisted.persisted.dirdbm
DBM-style interface to a directory.
Each key is stored as a single file. This is not expected to be very
fast or efficient, but it's good for easy debugging.
DirDBMs are *not* thread-safe, they should only be accessed by one
thread at a time.
No files should be placed in the working directory of a DirDBM save
those created by the DirDBM itself!
API Stability: stable
Maintainer: Itamar
Shtull-Trauring
Classes |
DirDBM |
A directory with a DBM interface. |
Shelf |
A directory with a DBM shelf interface. |
Function Summary |
|
open (file,
flag,
mode)
This is for 'anydbm' compatibility. |
open(file,
flag=None,
mode=None)
This is for 'anydbm' compatibility.
-
- Parameters:
file -
The parameter to pass to the DirDBM constructor.
flag -
ignored
mode -
ignored
|