code: def _glob1(dirname, pattern, dironly):
      names = list(_iterdir(dirname, dironly))
      if not _ishidden(pattern):
          names = (x for x in names if not _ishidden(x))
      return fnmatch.filter(names, pattern)
  
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 4 for calling a global function with example usage: _glob1(dirname, pattern, dironly) and returns: fnmatch