node_modules/connect/node_modules/serve-index/index.js
/**
 * Stat all files and return array of stat
 * in same order.
 */
Stat all files and return array of stat
in same order.
Stat all files and return array of stat in same order .
function stat(dir, files, cb) {
  var batch = new Batch();
  batch.concurrency(10);
  files.forEach(function(file){
    batch.push(function(done){
      fs.stat(join(dir, file), done);
    });
  });
  batch.end(cb);
}
function stat ( dir , files , cb ) { var batch = new Batch ( ) ; batch . concurrency ( 10 ) ; files . forEach ( function ( file ) { batch . push ( function ( done ) { fs . stat ( join ( dir , file ) , done ) ; } ) ; } ) ; batch . end ( cb ) ; }
Stat all files and return array of stat
 in same order.
Stat all files and return array of stat in same order .