Use atomic rename
Closed this issue · 1 comments
andrewchambers commented
Looks like you don't have any locking and don't do an atomic rename, this could lead to data loss on unexpected OS termination.
damphat commented
Thanks andrewchambers. This library is so simple, it provides some bash functions for users to create a file for each key. I will keep this simple as it is.