anchor.diff:          VALUE(ri_html) TYPE REF TO zif_abapgit_html
         RAISING
           zcx_abapgit_exception .
  -    METHODS filter_diff_by_files
  -      IMPORTING
  -        !it_files      TYPE zif_abapgit_definitions=>ty_stage_tt
  -      CHANGING
  -        !ct_diff_files TYPE ty_file_diffs .
  +    METHODS is_file_requested
  +      IMPORTING
  +        it_files                    TYPE zif_abapgit_definitions=>ty_stage_tt
  +        is_status                   TYPE zif_abapgit_definitions=>ty_result
  +      RETURNING
  +        VALUE(rv_is_file_requested) TYPE abap_bool.
   ENDCLASS.
   
   
  
positive.code:         path ASCENDING
          filename ASCENDING.
        LOOP AT lt_status ASSIGNING <ls_status> WHERE match IS INITIAL.
          append_diff( it_remote = lt_remote
                       it_local  = lt_local
                       is_status = <ls_status> ).
        ENDLOOP.
  
      ENDIF.
  
      filter_diff_by_files(
        EXPORTING
          it_files      = it_files
        CHANGING
          ct_diff_files = mt_diff_files ).
  
    ENDMETHOD.
  
  
negative.code:     ENDCASE.
  
    ENDMETHOD.
  
  
    METHOD is_file_requested.
  
      IF lines( it_files ) = 0.
        rv_is_file_requested = abap_true.
        RETURN.
      ENDIF.
  
      READ TABLE it_files WITH KEY file-path     = is_status-path
                                   file-filename = is_status-filename
                          TRANSPORTING NO FIELDS.
      rv_is_file_requested = boolc( sy-subrc = 0 ).
  
    ENDMETHOD.
  
  ENDCLASS.
  