6 pub methods

This commit is contained in:
Kevin Froman 2020-03-28 00:05:37 -05:00
parent f6d3bac205
commit a7f8dd31e2

View File

@ -10,7 +10,7 @@ It doesn't do anything crazy. It just takes json serializable data and stores it
You can control when and where to read/write, and that's it. You can control when and where to read/write, and that's it.
No bloat, only 5 public methods. No bloat, only 6 public methods.
## Usage ## Usage
@ -45,4 +45,4 @@ kv.delete('my_key')
***Warning:*** **Be sure to keep flush_on_exit set to true or manually flush when destroying the kv instance (such as by exiting your program) to avoid losing data.** ***Warning:*** **Be sure to keep flush_on_exit set to true or manually flush when destroying the kv instance (such as by exiting your program) to avoid losing data.**
***Warning:*** **flush_on_exit should be set to false when using the same file from multiple threads or processes, otherwise you will lose data.** ***Warning:*** **flush_on_exit should be set to false when using the same file from multiple threads or processes, otherwise you will lose data.**