original_docstring: 
              Traverse through a dulwich Tree object recursively, accumulating
              all the empty directories within it in the "blobs" list
              
docstring: Traverse through a dulwich Tree object recursively, accumulating
  all the empty directories within it in the "blobs" list
docstring_tokens: Traverse through a dulwich Tree object recursively accumulating all the empty directories within it in the " blobs " list
code: def _traverse(tree, blobs, prefix):
              '''
              Traverse through a dulwich Tree object recursively, accumulating
              all the empty directories within it in the "blobs" list
              '''
              for item in six.iteritems(tree):
                  try:
                      obj = self.repo.get_object(item.sha)
                  except KeyError:
                      # Entry is a submodule, skip it
                      continue
                  if not isinstance(obj, dulwich.objects.Tree):
                      continue
                  blobs.append(salt.utils.path_join(prefix, item.path))
                  if len(self.repo.get_object(item.sha)):
                      _traverse(obj, blobs, salt.utils.path_join(prefix, item.path))
code_tokens: def _traverse ( tree , blobs , prefix ) : for item in six . iteritems ( tree ) : try : obj = self . repo . get_object ( item . sha ) except KeyError : continue if not isinstance ( obj , dulwich . objects . Tree ) : continue blobs . append ( salt . utils . path_join ( prefix , item . path ) ) if len ( self . repo . get_object ( item . sha ) ) : _traverse ( obj , blobs , salt . utils . path_join ( prefix , item . path ) )
short_docstring: Traverse through a dulwich Tree object recursively, accumulating
  all the empty directories within it in the "blobs" list
short_docstring_tokens: Traverse through a dulwich Tree object recursively accumulating all the empty directories within it in the " blobs " list
comment: '''
              Traverse through a dulwich Tree object recursively, accumulating
              all the empty directories within it in the "blobs" list
              '''$SEP$# Entry is a submodule, skip it