anchor.diff:      ready/2,
       purging/2,
       paused/2,
  -    purge_one/2
  +    purge_one/2,
  +    restore_one/2
     ]).
   %% gen_fsm callbacks
   -export([init/1,
  
positive.code:     purge_org/1,
      pause/0,
      resume/0,
      cancel/0
    ]).
  
  %% FSM states
  
negative.code: resume() ->
    gen_fsm:send_event(?SERVER, continue).
  
  restore(Org) when is_list(Org) ->
    restore(list_to_binary(Org));
  restore(Org) when is_binary(Org) ->
    gen_fsm:send_event(?SERVER, {restore, Org}).
  
  init([]) ->
      {ok, ready, #state{}}.
  %%event
  