twisted.persisted.dirdbm module documentationtwisted.persisted
View Source
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!
Maintainer: Itamar Shtull-Trauring
| Class | DirDBM | A directory with a DBM interface. |
| Class | Shelf | A directory with a DBM shelf interface. |
| Function | open | This is for 'anydbm' compatibility. |
This is for 'anydbm' compatibility.
| Parameters | file | The parameter to pass to the DirDBM constructor. |
| flag | ignored | |
| mode | ignored |