Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added file updates and fixed a bug with truncated JSON files | Vika | 2021-09-26 | 1 | -3/+100 |
| | | | | | | | | | | | There was a bug where `File::write()` would not write the entire buffer, and this condition was left unchecked by the code. All `File::write()` calls are now replaced with `File::write_all()` which ensures the whole buffer is written to the backing file. Additionally added a smoke check for the file updates. It is in no way comprehensive nor it is able to catch all the possible failures but it's a good way of testing the functionality without way too much hassle. | ||||
* | Added a WIP file backend | Vika | 2021-08-15 | 1 | -0/+173 |
Currently unavailable for use and only has basic GET and POST operations implemented. A lot more work is needed to make it truly usable. Locking is implemented using flock() system call on Linux. |