anchor.diff:      open(Name, Type, [create]).
   
   
  +%%--------------------------------------------------------------------
  +%% @doc
  +%% Open a database file.
  +%%
  +%% @spec open(Name, Type, Opts) -> {ok, Db} | {error, Error}
  +%% where
  +%%    Name = string()
  +%%    Type = btree | hash
  +%%    Opts = [atom()]
  +%%    Db = integer()
  +%%
  +%% @end
  +%%--------------------------------------------------------------------
   -spec open(Name :: db_name(), Type :: db_type(), Opts :: db_flags()) ->
       {ok, db()} | {error, integer()}.
   
  
positive.code:     put_commit(Db, Key, Value, []).
  
  
  -spec put_commit(Db :: db(), Key :: db_key(), Value :: db_value(), Opts :: db_flags()) ->
      ok | db_error().
  
  
negative.code:     end.
  
  
  %%--------------------------------------------------------------------
  %% @doc
  %% Store a value in a database file.
  %%
  %% @spec put_commit(Db, Key, Value) -> ok | {error, Error}
  %% where
  %%    Db = integer()
  %%    Key = any()
  %%    Value = any()
  %%
  %% @equiv put_commit(Db, Key, Value, [])
  %% @see put_commit/4
  %% @end
  %%--------------------------------------------------------------------
  -spec put_commit(Db :: db(), Key :: db_key(), Value :: db_value()) ->
      ok | db_error().
  
  