damphat/kv-bash

Use atomic rename

Closed this issue · 1 comments

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.

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.