anchor.diff:  
   
       APPEND INITIAL LINE TO mt_expanded ASSIGNING <ls_expanded>.
  -    <ls_expanded>-path = iv_path.
  -    <ls_expanded>-name = iv_name.
  -    <ls_expanded>-sha1 = 'a'.
  +    <ls_expanded>-path  = iv_path.
  +    <ls_expanded>-name  = iv_name.
  +    <ls_expanded>-sha1  = 'a'.
  +    <ls_expanded>-chmod = gc_chmod-file.
   
     ENDMETHOD.
   
  
positive.code:                lc_null       TYPE x VALUE '00'.
  
      DATA: lv_xstring TYPE xstring,
            lv_chmod   TYPE string,
            lv_name    TYPE string,
            lv_string  TYPE string,
            lv_len     TYPE i,
  
negative.code: 
      LOOP AT lt_nodes ASSIGNING <ls_node>.
        CASE <ls_node>-chmod.
          WHEN gc_chmod-file
              OR gc_chmod-executable.
            APPEND INITIAL LINE TO rt_expanded ASSIGNING <ls_exp>.
            <ls_exp>-path  = iv_base.
            <ls_exp>-name  = <ls_node>-name.
            <ls_exp>-sha1  = <ls_node>-sha1.
            <ls_exp>-chmod = <ls_node>-chmod.
          WHEN gc_chmod-dir.
            lt_expanded = walk_tree(
              it_objects = it_objects
  