Atomic file read/writes
saurabh0719 opened this issue · comments
Description :
- Ideally, files writes and reads should be fully atomic to avoid file corruption
- The Safer library is handy for this usecase.
- This library essentially directs all file writes to a memory stream (or temp file) before writing into the actual file to ensure atomicity.
Comment any other suggestions or alternatives.
Interested in doing this.
Great. Check out the contributing guidelines before you proceed @AdityaKotwal100