anchor.diff:  is_empty(#state{table=T}) ->
       dets:info(T, size) =:= 0.
   
  -drop(#state{table=T}) ->
  -    ok = dets:delete_all_objects(T).
  -
  +drop(#state{table=T, path=P}) ->
  +    ok = dets:delete_all_objects(T),
  +    ok = dets:close(T),
  +    ok = file:delete(P).
   
   %%
   %% Test
  
positive.code:                                    {min_no_slots, 8192},
                                     {max_no_slots, 16777216}]) of
          {ok, DetsName} ->
              {ok, #state{table=DetsName}};
          {error, Reason}  ->
              riak:stop("dets:open_file failed"),
              {error, Reason}
  
negative.code: -export([start/2,stop/1,get/2,put/3,list/1,list_bucket/2,delete/2,fold/3, is_empty/1, drop/1]).
  
  % @type state() = term().
  -record(state, {table, path}).
  
  % @spec start(Partition :: integer(), Config :: proplist()) ->
  %                        {ok, state()} | {{error, Reason :: term()}, state()}
  