code: def glob0(dirname, basename):
      if not basename:
          # `os.path.split()` returns an empty basename for paths ending with a
          # directory separator.  'q*x/' should match only directories.
          if os.path.isdir(dirname):
              return [basename]
      else:
          if os.path.lexists(os.path.join(dirname, basename)):
              return [basename]
      return []
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/glob.py
imports: import os
  import re
  import fnmatch
label_desc: Use image node_id 5 for calling a global function with example usage: glob0(dirname, basename) and returns: list, list, list