index.js
function emitMatches(str, pattern, options) {
  glob.emit('match', getFiles(str, pattern, options), options.cwd);
}
function emitMatches(str, pattern, options) {
  glob.emit('match', getFiles(str, pattern, options), options.cwd);
}
function emitMatches ( str , pattern , options ) { glob . emit ( 'match' , getFiles ( str , pattern , options ) , options . cwd ) ; }
Emit matches for a pattern
Emit matches for a pattern