summaryrefslogtreecommitdiffstats
path: root/db/db.go
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-281-0/+25
| | | | Writes database to disk.
* db: add FernDB.Addsiddharth2021-11-281-0/+14
|
* db: add FernDB.Existssiddharth2021-11-281-0/+14
|
* db: update FernDBsiddharth2021-11-281-0/+4
| | | | Add `mutex` field to the FernDB struct.
* add db packagesiddharth2021-11-281-0/+66