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 | 2 | -0/+147 |
| | | | | Writes database to disk. | ||||
* | db: add FernDB.Add | siddharth | 2021-11-28 | 2 | -0/+80 |
| | |||||
* | db: add FernDB.Exists | siddharth | 2021-11-28 | 2 | -0/+57 |
| | |||||
* | db: update TestOpenExistingDB | siddharth | 2021-11-28 | 1 | -1/+3 |
| | | | | Refactor dbFile closing. | ||||
* | db: update FernDB | siddharth | 2021-11-28 | 2 | -0/+20 |
| | | | | Add `mutex` field to the FernDB struct. | ||||
* | add db package | siddharth | 2021-11-28 | 2 | -0/+189 |