Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | db: add `defaultDBPath` | siddharth ravikumar | 2022-12-25 | 1 | -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 docs | siddharth | 2021-12-13 | 1 | -0/+19 |
| | |||||
* | db: update FernDB.Write | siddharth | 2021-11-28 | 1 | -1/+1 |
| | | | | Always truncate file before writing. | ||||
* | db: add FernDB.Write | siddharth | 2021-11-28 | 1 | -0/+25 |
| | | | | Writes database to disk. | ||||
* | db: add FernDB.Add | siddharth | 2021-11-28 | 1 | -0/+14 |
| | |||||
* | db: add FernDB.Exists | siddharth | 2021-11-28 | 1 | -0/+14 |
| | |||||
* | db: update FernDB | siddharth | 2021-11-28 | 1 | -0/+4 |
| | | | | Add `mutex` field to the FernDB struct. | ||||
* | add db package | siddharth | 2021-11-28 | 1 | -0/+66 |