Closed theclapp closed 2 years ago
Config.glob used to call os.Stat directly. Now it calls Config.Stat if it's set, and if not, calls cfg.Readdir on the given file's directory, and returns the entry for the file.
Fixes #824.
We went with https://github.com/mvdan/sh/pull/826 instead :) Thanks again for your help!
Config.glob used to call os.Stat directly. Now it calls Config.Stat if it's set, and if not, calls cfg.Readdir on the given file's directory, and returns the entry for the file.
Fixes #824.