Add helper methods to Glob instance
vjpr opened this issue · comments
Vaughan Rouesnel commented
const glob = new Glob
glob.sync()
await glob()
Ahmad Nassri commented
not sure what you mean here?
Vaughan Rouesnel commented
If you create and instance of Glob, can you use it with promises.
Originally I thought you could attach events if you created an instance of glob, but it seems you can only listen for match, end and error events. So maybe not useful anymore.