anchor.diff:      {ok, State}.
   
   
  -
  +%async event for whole repository scan, checking every package and branch
   handle_info(scan_repository, State) ->
       spawn(fun() ->
           Self = self(),
  
positive.code:     {noreply, State}.
  
  
  handle_call({get_archive, #archive{name=Name, branch=Branch, fd=Fd}}, From, State) ->
      spawn(fun() ->
          AR = State#state.archive_root,
  
negative.code:     end),
      {noreply, State};
  
  %getting all packages in local storage 
  handle_call(get_packages, _From, #state{dets=D}=State) ->
      Packages = dets:select(D, [{{'$1', '_', '_', '_', '_'}, [], ['$1']}]),
      {reply, Packages, State};
  
  %event for pushing new archives and notify, generated in scan_repository
  handle_call({changes, ScanPipeResult}, _From, #state{dets=D}=State) ->
      NewWorkId = State#state.work_id + 1,
      WorkIdFile = State#state.work_id_file,
  