summaryrefslogtreecommitdiffstats
path: root/db
Commit message (Collapse)AuthorAgeFilesLines
* db: add `defaultDBPath`siddharth ravikumar2022-12-251-2/+9
| | | | | | For storing the default db path. The `dbPath` gets changed during tests. The `defaultDBPath` can be used to reset `dbPath` back to the default db path through the `resetDBPath` function.
* db/db.go: add docssiddharth2021-12-131-0/+19
|
* db: update FernDB.Writesiddharth2021-11-281-1/+1
| | | | Always truncate file before writing.
* db: add FernDB.Writesiddharth2021-11-282-0/+147
| | | | Writes database to disk.
* db: add FernDB.Addsiddharth2021-11-282-0/+80
|
* db: add FernDB.Existssiddharth2021-11-282-0/+57
|
* db: update TestOpenExistingDBsiddharth2021-11-281-1/+3
| | | | Refactor dbFile closing.
* db: update FernDBsiddharth2021-11-282-0/+20
| | | | Add `mutex` field to the FernDB struct.
* add db packagesiddharth2021-11-282-0/+189