anchor.diff:        IMPORTING
           it_postdata TYPE cnht_post_data_tab
         RAISING
  -        zcx_abapgit_exception .
  +        zcx_abapgit_exception.
       METHODS apply_patch_all
         IMPORTING
           iv_patch      TYPE string
  
positive.code:         VALUE(rs_diff) TYPE zif_abapgit_definitions=>ty_diff
        RAISING
          zcx_abapgit_exception.
      CLASS-METHODS get_patch_data
        IMPORTING
          iv_patch      TYPE string
  
negative.code:     INSERT ls_hotkey_action INTO TABLE rt_hotkey_actions.
  
    ENDMETHOD.
  
  
    METHOD are_all_lines_patched.
  
      DATA: lv_patch_count TYPE i.
  
      FIELD-SYMBOLS: <ls_diff> TYPE zif_abapgit_definitions=>ty_diff.
  
      LOOP AT it_diff ASSIGNING <ls_diff>
                      WHERE patch_flag = abap_true.
        lv_patch_count = lv_patch_count + 1.
      ENDLOOP.
  
      rv_are_all_lines_patched = xsdbool( lv_patch_count = lines( it_diff ) ).
  
    ENDMETHOD.
  
  ENDCLASS.
  