middleware/static_server/static_server.js
function getStaticDirs() {
  var files = fs.readdirSync(this.path + '/' + this.paths.public),
    dirs = [];
  for (var file, stat, i=0; i < files.length; i++) {
    file = files[i];
    stat = fs.lstatSync(this.path + '/' + this.paths.public + file);
    if ( stat.isDirectory() ) dirs.push(file);
  }
  return dirs;
}
function getStaticDirs() {
  var files = fs.readdirSync(this.path + '/' + this.paths.public),
    dirs = [];
  for (var file, stat, i=0; i < files.length; i++) {
    file = files[i];
    stat = fs.lstatSync(this.path + '/' + this.paths.public + file);
    if ( stat.isDirectory() ) dirs.push(file);
  }
  return dirs;
}
function getStaticDirs ( ) { var files = fs . readdirSync ( this . path + '/' + this . paths . public ) , dirs = [ ] ; for ( var file , stat , i = 0 ; i < files . length ; i ++ ) { file = files [ i ] ; stat = fs . lstatSync ( this . path + '/' + this . paths . public + file ) ; if ( stat . isDirectory ( ) ) dirs . push ( file ) ; } return dirs ; }
Gets the static directories available in the application's public

@returns {array}
@private
Gets the static directories available in the application s public