summaryrefslogtreecommitdiffstats
path: root/db/db_test.go
Commit message (Collapse)AuthorAgeFilesLines
* db: fix data racesiddharth ravikumar2022-12-251-0/+47
| | | | | | - Use a sync.RWMutex for mutex locks. - Use sync.RWMutex.RLock when reading from the downloaded map. - Use sync.RWMutex.Lock when writing to the downloaded map.
* db: add FernDB.Writesiddharth2021-11-281-0/+122
| | | | Writes database to disk.
* db: add FernDB.Addsiddharth2021-11-281-0/+66
|
* db: add FernDB.Existssiddharth2021-11-281-0/+43
|
* db: update TestOpenExistingDBsiddharth2021-11-281-1/+3
| | | | Refactor dbFile closing.
* db: update FernDBsiddharth2021-11-281-0/+16
| | | | Add `mutex` field to the FernDB struct.
* add db packagesiddharth2021-11-281-0/+123