We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4d957c commit 1f942edCopy full SHA for 1f942ed
1 file changed
lib/b4.ex
@@ -21,6 +21,10 @@ defmodule B4 do
21
22
Old versions are preserved on disk until you call `merge/2`,
23
at which point all non-live data on disk is destroyed.
24
+
25
+ Key and value can be any Elixir terms that are safe to
26
+ serialize and deserialize with `:erlang.term_to_binary/1` and
27
+ `:erlang.binary_to_term/1`.
28
"""
29
def insert(directory, key, value) do
30
Writer.insert_sync(directory, key, value)
0 commit comments