code: def entries_in_tree(self, prefix, tree):
          
          for entry in tree.items():
              if prefix:
                  new_prefix = prefix + (entry.path.decode(), )
              else:
                  new_prefix = (entry.path.decode(), )
  
              yield (new_prefix, stat.S_ISDIR(entry.mode), entry.sha)
docs: Traverse the entries in this tree and yield (prefix, is_tree, oid)
  
          Where prefix is a tuple of the given prefix and the name of the entry.