anchor.diff:      ASSERT sy-subrc = 0.
   
     ENDMETHOD.                    "delete
  +
  +  METHOD is_repo_installed.
  +
  +    DATA: lt_repo        TYPE lcl_repo_srv=>ty_repo_tt,
  +          lo_repo        TYPE REF TO lcl_repo,
  +          lv_url         TYPE string,
  +          lv_package     TYPE devclass,
  +          lo_repo_online TYPE REF TO lcl_repo_online,
  +          lv_err         TYPE string.
  +
  +    lt_repo = list( ).
  +
  +    LOOP AT lt_repo INTO lo_repo.
  +      CHECK lo_repo->is_offline( ) = abap_false.
  +      lo_repo_online ?= lo_repo.
  +
  +      lv_url     = lo_repo_online->get_url( ).
  +      lv_package = lo_repo_online->get_package( ).
  +      CHECK to_upper( lv_url ) = to_upper( iv_url ).
  +
  +      " Validate bindings
  +      "TODO refactor: move this message out of this method
  +      IF iv_target_package IS NOT INITIAL AND iv_target_package <> lv_package.
  +        lv_err = |Installation to package { lv_package } detected. |
  +              && |Cancelling installation|.
  +        _raise lv_err.
  +      ENDIF.
  +
  +      rv_installed = abap_true.
  +      EXIT.
  +    ENDLOOP.
  +
  +  ENDMETHOD. "is_repo_installed
  +
   
   ENDCLASS.                    "lcl_repo_srv IMPLEMENTATION
   
  
positive.code:                 es_file   TYPE ty_repo_file
        RAISING   lcx_exception.
  
      CLASS-METHODS abapgit_installation
        RAISING lcx_exception.
  
      CLASS-METHODS is_repo_installed
        IMPORTING iv_url              TYPE string
                  iv_target_package   TYPE devclass OPTIONAL
        RETURNING VALUE(rv_installed) TYPE abap_bool
        RAISING   lcx_exception.
  
      CLASS-METHODS needs_installation
  
negative.code:       RETURNING VALUE(ro_repo) TYPE REF TO lcl_repo
        RAISING   lcx_exception.
  
      CLASS-METHODS is_repo_installed
        IMPORTING iv_url              TYPE string
                  iv_target_package   TYPE devclass OPTIONAL
        RETURNING VALUE(rv_installed) TYPE abap_bool
        RAISING   lcx_exception.
  
    PRIVATE SECTION.
  
      CLASS-DATA: gv_init        TYPE abap_bool VALUE abap_false,
  