Skip to content

Commit 1f942ed

Browse files
committed
more docs
1 parent a4d957c commit 1f942ed

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/b4.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ defmodule B4 do
2121
2222
Old versions are preserved on disk until you call `merge/2`,
2323
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`.
2428
"""
2529
def insert(directory, key, value) do
2630
Writer.insert_sync(directory, key, value)

0 commit comments

Comments
 (0)