code: def _iterdir(self, dirname, dironly):
      if not dirname:  # pragma: no cover
          dirname = ""
      if not self._fs.isdir(dirname):
          return iter(())
      for entry in self._fs.ls(dirname):
          if not dironly or self._fs.isdir(entry):
              yield self._fs.path_split(entry)[-1]
  
file_path: mars/mars/lib/filesystem/_glob.py
imports: import fnmatch
  import os
  import re
  from .core import FileSystem
label_desc: Use image node_id 10 for calling the FileSystemGlob obj's underlying member method code with example usage: obj._iterdir(dirname, dironly) and returns: iter