anchor.diff:  -spec(
       start_snap_loop() -> ok | pid()
   ).
  --spec(
  -    restart_snap_loop() -> ok | term()
  -).
   -ifdef(TEST).
       start_snap_loop() -> ok.
  -    restart_snap_loop() -> ok.
   -else.
       start_snap_loop() ->
  -        spawn(fun() ->
  -            catch ?Info("~s~n", [zip({re, "*.bkp"})]),
  -            restart_snap_loop()
  -        end).
  -    restart_snap_loop() ->
           erlang:whereis(?MODULE) ! imem_snap_loop.
   -endif.
   
  
positive.code:             SnapTimer = erlang:send_after(10000, self(), imem_snap_loop),
              {noreply, State#state{snap_timer = SnapTimer}}
      end;
  
  handle_info(imem_snap_loop_cancel, #state{snap_timer=SnapTimer} = State) ->
      case SnapTimer of
          undefined -> 
  
negative.code:                 end,
                  [], Files
              ),
              start_snap_loop(),
              Res;
          _ ->
              {_, SnapDir} = application:get_env(imem, imem_snapshot_dir),
  