nl_tokens: If path is file verify against globs
pl_tokens: function file_path ( ) { pending ++ for ( var i = globs . <mask> ; i -- ; ) { const glob = globs [ i ] const glob_full = glob . glob const glob_base = glob . base const glob_negated = glob . negated const glob_pattern = glob . pattern if ( entry === glob_full || mm . isMatch ( entry , glob_pattern , ALLOW ) ) { return done ( null , file ) } } // Did not match globs pending -- done ( null , null ) }