anchor.diff:  
   ENDCLASS.
   
  -CLASS ltcl_status_helper DEFINITION DEFERRED.
  -CLASS zcl_abapgit_file_status DEFINITION LOCAL FRIENDS ltcl_status_helper.
  -
  -CLASS ltcl_status_helper DEFINITION.
  +CLASS lcl_status_result DEFINITION.
   
     PUBLIC SECTION.
       METHODS:
  +      constructor
  +        IMPORTING
  +          it_results TYPE zif_abapgit_definitions=>ty_results_tt,
  +      get_line
  +        IMPORTING
  +          iv_line        TYPE i
  +        RETURNING
  +          VALUE(rs_data) TYPE zif_abapgit_definitions=>ty_result,
  +      assert_lines
  +        IMPORTING
  +          iv_lines TYPE i.
  +
  +  PRIVATE SECTION.
  +    DATA: mt_results TYPE zif_abapgit_definitions=>ty_results_tt.
  +
  +ENDCLASS.
  +
  +CLASS lcl_status_result IMPLEMENTATION.
  +
  +  METHOD constructor.
  +
  +    mt_results = it_results.
  +
  +  ENDMETHOD.
  +
  +  METHOD get_line.
  +
  +    READ TABLE mt_results INDEX iv_line INTO rs_data.
  +    cl_abap_unit_assert=>assert_subrc( ).
  +
  +  ENDMETHOD.
  +
  +  METHOD assert_lines.
  +
  +    cl_abap_unit_assert=>assert_equals(
  +      act = lines( mt_results )
  +      exp = iv_lines ).
  +
  +  ENDMETHOD.
  +
  +ENDCLASS.
  +
  +CLASS lcl_status_helper DEFINITION DEFERRED.
  +CLASS zcl_abapgit_file_status DEFINITION LOCAL FRIENDS lcl_status_helper.
  +
  +CLASS lcl_status_helper DEFINITION FOR TESTING.
  +
  +  PUBLIC SECTION.
  +    INTERFACES:
  +      zif_abapgit_tadir.
  +
  +    METHODS:
  +      constructor,
  +      add_tadir
  +        IMPORTING
  +          iv_obj_type TYPE tadir-object
  +          iv_obj_name TYPE tadir-obj_name
  +          iv_devclass TYPE tadir-devclass,
         add_remote
           IMPORTING
             iv_path     TYPE string DEFAULT '/'
             iv_filename TYPE string
             iv_sha1     TYPE zif_abapgit_definitions=>ty_sha1,
  -      add_local,
  +      add_local
  +        IMPORTING
  +          iv_path     TYPE string DEFAULT '/'
  +          iv_filename TYPE string
  +          iv_sha1     TYPE zif_abapgit_definitions=>ty_sha1
  +          iv_obj_type TYPE tadir-object
  +          iv_obj_name TYPE tadir-obj_name
  +          iv_devclass TYPE devclass DEFAULT '$Z$',
         add_state,
         run
  -        RETURNING VALUE(rt_results) TYPE zif_abapgit_definitions=>ty_results_tt
  -        RAISING   zcx_abapgit_exception.
  +        IMPORTING
  +          iv_devclass      TYPE devclass DEFAULT '$Z$'
  +        RETURNING
  +          VALUE(ro_result) TYPE REF TO lcl_status_result
  +        RAISING
  +          zcx_abapgit_exception.
   
     PRIVATE SECTION.
   
  -    DATA: mt_local  TYPE zif_abapgit_definitions=>ty_files_item_tt,
  -          mt_remote TYPE zif_abapgit_definitions=>ty_files_tt,
  -          mt_state  TYPE zif_abapgit_definitions=>ty_file_signatures_tt.
  -
  -ENDCLASS.
  -
  -CLASS ltcl_status_helper IMPLEMENTATION.
  +    TYPES: BEGIN OF ty_tadir,
  +             obj_type TYPE tadir-object,
  +             obj_name TYPE tadir-obj_name,
  +             devclass TYPE tadir-devclass,
  +           END OF ty_tadir.
  +
  +    DATA:
  +      mt_tadir  TYPE STANDARD TABLE OF ty_tadir WITH DEFAULT KEY,
  +      mt_local  TYPE zif_abapgit_definitions=>ty_files_item_tt,
  +      mt_remote TYPE zif_abapgit_definitions=>ty_files_tt,
  +      mt_state  TYPE zif_abapgit_definitions=>ty_file_signatures_tt.
  +
  +ENDCLASS.
  +
  +CLASS lcl_status_helper IMPLEMENTATION.
  +
  +  METHOD constructor.
  +
  +    zcl_abapgit_injector=>set_tadir( me ).
  +
  +  ENDMETHOD.
  +
  +  METHOD add_tadir.
  +
  +    FIELD-SYMBOLS: <ls_tadir> LIKE LINE OF mt_tadir.
  +
  +    APPEND INITIAL LINE TO mt_tadir ASSIGNING <ls_tadir>.
  +    <ls_tadir>-obj_type = iv_obj_type.
  +    <ls_tadir>-obj_name = iv_obj_name.
  +    <ls_tadir>-devclass = iv_devclass.
  +
  +  ENDMETHOD.
  +
  +  METHOD zif_abapgit_tadir~get_object_package.
  +
  +    DATA: ls_tadir LIKE LINE OF mt_tadir.
  +
  +    IF lines( mt_tadir ) > 0.
  +      READ TABLE mt_tadir INTO ls_tadir WITH KEY
  +        obj_type = iv_object
  +        obj_name = iv_obj_name.
  +      cl_abap_unit_assert=>assert_subrc( ).
  +
  +      rv_devclass = ls_tadir-devclass.
  +    ENDIF.
  +
  +  ENDMETHOD.
  +
  +  METHOD zif_abapgit_tadir~read.
  +    cl_abap_unit_assert=>fail( ).
  +  ENDMETHOD.
  +
  +  METHOD zif_abapgit_tadir~read_single.
  +    cl_abap_unit_assert=>fail( ).
  +  ENDMETHOD.
   
     METHOD add_remote.
   
  
positive.code: 
      FIELD-SYMBOLS: <ls_local> LIKE LINE OF mt_local.
  
  * todo
    ENDMETHOD.
  
    METHOD add_state.
  
negative.code:   <ls_result>-filename = &8.
  END-OF-DEFINITION.
  
  CLASS ltcl_run_checks DEFINITION DEFERRED.
  CLASS zcl_abapgit_file_status DEFINITION LOCAL FRIENDS ltcl_run_checks.
  
  