anchor.diff:    PUBLIC SECTION.
   
       INTERFACES zif_abapgit_object .
  +    ALIASES mo_files
  +      FOR zif_abapgit_object~mo_files .
     PROTECTED SECTION.
     PRIVATE SECTION.
   
  
positive.code:     io_xml->add( iv_name = 'DATA'
                   ig_data = lt_data ).
  
    ENDMETHOD.
  ENDCLASS.
  
negative.code:     save( is_outline = ls_outline
            it_data    = lt_data
            iv_package = iv_package ).
  
  
      TRY.
          lv_xml_string = mo_files->read_string( iv_extra = 'appl_config'
                                                 iv_ext   = 'xml' ).
          TRY.
              lv_xml_string = zcl_abapgit_xml_pretty=>print( iv_xml           = lv_xml_string
                                                             iv_ignore_errors = abap_false
                                                             iv_unpretty      = abap_true ).
            CATCH zcx_abapgit_exception.
              zcx_abapgit_exception=>raise( 'Error Un-Pretty Printing WDCA XML Content: ' && ms_item-obj_name ).
          ENDTRY.
  
          REPLACE FIRST OCCURRENCE
            OF REGEX '<\?xml version="1\.0" encoding="[\w-]+"\?>'
            IN lv_xml_string
            WITH '<?xml version="1.0"?>'.
          ASSERT sy-subrc = 0.
  
          lv_xml_xstring = zcl_abapgit_convert=>string_to_xstring( iv_str = lv_xml_string ).
          UPDATE wdy_config_appl
            SET xcontent = lv_xml_xstring
            WHERE config_id   = ls_outline-config_id
              AND config_type = ls_outline-config_type
              AND config_var  = ls_outline-config_var.
        CATCH zcx_abapgit_exception.
          " File not found
      ENDTRY.
  
  
      io_xml->read( EXPORTING iv_name = 'DESCR_LANG'
                    CHANGING  cg_data = lt_config_appt ).
  
      IF lt_config_appt IS NOT INITIAL.
        DELETE FROM wdy_config_appt
          WHERE config_id   = ls_outline-config_id
            AND config_type = ls_outline-config_type
            AND config_var  = ls_outline-config_var.
        MODIFY wdy_config_appt FROM TABLE lt_config_appt.
        IF sy-subrc <> 0.
          zcx_abapgit_exception=>raise( 'Error Updating WDY_CONFIG_APPT for Component Config ' && ms_item-obj_name ).
        ENDIF.
      ENDIF.
  
    ENDMETHOD.
  
  