fileoverview see https author kazuya kawaguchi (a.k.a. kazupon)
  import type { IOptions , IGlobBase } from 'glob' ; import { GlobSync as Sync } from 'glob' ; import { inherits } from 'util' ; const IGNORE = Symbol ( 'ignore' ) ; function GlobSync ( pattern , options , shouldIgnore ) { this [ IGNORE ] = shouldIgnore ; Sync . call ( this , pattern , options ) ; } inherits ( GlobSync , Sync ) ; GlobSync . prototype . _readdir = function ( abs , inGlobStar ) { const marked = this . _mark ( abs ) ; if ( this [ IGNORE ] ( marked ) ) { return null ; } return Sync . prototype . _readdir . call ( this , abs , inGlobStar ) ; } ; export default GlobSync as never as new ( pattern , options , shouldIgnore ) => IGlobBase ;