anchor.diff:          ENDAT.
   
           IF <ls_result>-filename IS NOT INITIAL.
  -          lv_file = <ls_result>-path && <ls_result>-filename.
  -          APPEND lv_file TO ls_repo_item-files.
  -        ENDIF.
  -        IF <ls_result>-match = abap_false.
  -          ls_repo_item-is_changed = abap_true.
  -          ls_repo_item-result = <ls_result>. "TODO remove, clutch
  +          ls_file-path       = <ls_result>-path.
  +          ls_file-filename   = <ls_result>-filename.
  +          ls_file-is_changed = boolc( NOT <ls_result>-match = abap_true ).
  +          APPEND ls_file TO ls_repo_item-files.
           ENDIF.
   
           AT END OF obj_name. "obj_type + obj_name
  
positive.code:     DATA: lo_repo_online  TYPE REF TO lcl_repo_online,
            lt_tadir        TYPE lcl_tadir=>ty_tadir_tt,
            ls_repo_item    TYPE ty_repo_item,
            lv_file         TYPE string,
            lt_results      TYPE lcl_file_status=>ty_results_tt.
  
      FIELD-SYMBOLS:  <ls_result> LIKE LINE OF lt_results,
  
negative.code:                    <ls_local>  LIKE LINE OF lt_local.
  
  
      lo_repo  ?= lcl_repo_srv=>get( iv_key ).
      lt_remote = lo_repo->get_files_remote( ).
      lt_local  = lo_repo->get_files_local( ).
  
      READ TABLE lt_remote ASSIGNING <ls_remote>
        WITH KEY filename = is_file-filename
                 path     = is_file-path.
      IF sy-subrc <> 0.
        _raise 'file not found remotely'.
      ENDIF.
  
      READ TABLE lt_local ASSIGNING <ls_local>
        WITH KEY file-filename = is_file-filename
                 file-path     = is_file-path.
      IF sy-subrc <> 0.
        _raise 'file not found locally'.
      ENDIF.
  