code: def glob1(self, dir_relpath, glob):
      
      if self.isignored(dir_relpath, directory=True):
        return []
  
      matched_files = self._glob1_raw(dir_relpath, glob)
      prefix = self._relpath_no_dot(dir_relpath)
      return self._filter_ignored(matched_files, selector=lambda p: os.path.join(prefix, p))
docs: Returns a list of paths in path that match glob and are not ignored.