anchor.diff:          OTHERS              = 2.
       ASSERT sy-subrc = 0.
   
  +  ENDMETHOD.
  +
  +
  +  METHOD get_only_favorites.
  +    rv_result = mv_only_favorites.
     ENDMETHOD.
   
   
  
positive.code:   ENDMETHOD.
  
  
    METHOD set_order_by.
      mv_order_by = iv_order_by.
    ENDMETHOD.
  
negative.code: 
    METHOD set_order_direction.
      mv_order_descending = iv_order_descending.
    ENDMETHOD.
  
  
    METHOD shorten_repo_url.
      DATA lv_new_length TYPE i.
      DATA lv_length_to_truncate_to TYPE i.
  
      rv_shortened = iv_full_url.
  
      REPLACE FIRST OCCURRENCE OF 'https://' IN rv_shortened WITH ''.
      REPLACE FIRST OCCURRENCE OF 'http://' IN rv_shortened WITH ''.
      IF rv_shortened CP '*.git'.
        lv_new_length = strlen( rv_shortened ) - 4.
        rv_shortened  = rv_shortened(lv_new_length).
      ENDIF.
  
      IF strlen( rv_shortened ) > iv_max_length.
        lv_length_to_truncate_to = iv_max_length - 3.
        rv_shortened = rv_shortened(lv_length_to_truncate_to) && `...`.
      ENDIF.
    ENDMETHOD.
  
  
  