code: def _iterdir(dirname, dironly):
      for entry in oss_scandir(dirname):
          if not dironly or entry.is_dir():
              yield entry.name
      return
  
file_path: mars/mars/lib/filesystem/_oss_lib/glob.py
imports: import fnmatch
  import os
  import re
  from .common import oss_exists, oss_isdir, oss_scandir
label_desc: Use image node_id 6 for calling a global function with example usage: _iterdir(dirname, dironly) without return types