def glob(self, pathname, ondisk=True, source=False, strings=False):
        dirname, basename = os.path.split(pathname)
        if not dirname:
            return sorted(self._glob1(basename, ondisk, source, strings),
                          key=lambda t: str(t))
        if has_glob_magic(dirname):
            list = self.glob(dirname, ondisk, source, strings=False)
        else:
            list = [self.Dir(dirname, create=True)]
        result = []
        for dir in list:
            r = dir._glob1(basename, ondisk, source, strings)
            if strings:
                r = [os.path.join(str(dir), x) for x in r]
            result.extend(r)
        return sorted(result, key=lambda a: str(a))
Returns a list of Nodes (or strings) matching a specified
dataset/ETHPy150Open kayhayen/Nuitka/nuitka/build/inline_copy/lib/scons-2.3.2/SCons/Node/FS.py/Dir.glob