anchor.diff:    ENDMETHOD.
   
   
  +  METHOD check_language.
  +
  +    DATA lv_master_language TYPE spras.
  +
  +    " assumes find_remote_dot_abapgit has been called before
  +    lv_master_language = get_dot_abapgit( )->get_master_language( ).
  +
  +    IF lv_master_language <> sy-langu.
  +      zcx_abapgit_exception=>raise( |Current login language |
  +                                 && |'{ zcl_abapgit_convert=>conversion_exit_isola_output( sy-langu ) }'|
  +                                 && | does not match master language |
  +                                 && |'{ zcl_abapgit_convert=>conversion_exit_isola_output( lv_master_language ) }'.|
  +                                 && | Run 'Advanced' > 'Open in master language'| ).
  +    ENDIF.
  +
  +  ENDMETHOD.
  +
  +
  +  METHOD check_write_protect.
  +
  +    IF get_local_settings( )-write_protected = abap_true.
  +      zcx_abapgit_exception=>raise( 'Cannot deserialize. Local code is write-protected by repo config' ).
  +    ENDIF.
  +
  +  ENDMETHOD.
  +
  +
     METHOD constructor.
   
       ASSERT NOT is_data-key IS INITIAL.
  
positive.code:     METHODS reset_remote .
    PRIVATE SECTION.
  
      DATA mi_listener TYPE REF TO zif_abapgit_repo_listener.
      DATA mo_apack_reader TYPE REF TO zcl_abapgit_apack_reader.
  
      METHODS get_local_checksums
        RETURNING
  
negative.code: 
    METHOD deserialize_checks.
  
      DATA: lt_requirements TYPE zif_abapgit_dot_abapgit=>ty_requirement_tt,
            lt_dependencies TYPE zif_abapgit_apack_definitions=>tt_dependencies.
  
      find_remote_dot_abapgit( ).
      find_remote_dot_apack( ).
  
      check_write_protect( ).
      check_language( ).
  
      rs_checks = zcl_abapgit_objects=>deserialize_checks( me ).
  
  