anchor.diff:      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.
  
positive.code:     ENDIF.
  
      ms_control-page_menu = build_menu( ).
  
    ENDMETHOD.
  
  
    METHOD filter_diff_by_files.
  
      FIELD-SYMBOLS: <ls_diff_file> TYPE ty_file_diff.
  
      IF lines( it_files ) = 0.
        RETURN.
      ENDIF.
  
      " Diff only for specified files
      LOOP AT ct_diff_files ASSIGNING <ls_diff_file>.
  
        READ TABLE it_files TRANSPORTING NO FIELDS
                            WITH KEY file-filename = <ls_diff_file>-filename.
        IF sy-subrc <> 0.
          DELETE TABLE ct_diff_files FROM <ls_diff_file>.
        ENDIF.
  
      ENDLOOP.
  
    ENDMETHOD.
  
  
negative.code:         VALUE(ri_html) TYPE REF TO zif_abapgit_html
        RAISING
          zcx_abapgit_exception .
      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.
  
  
  