lib/csstree.js
function(treeRoot) {
      var stat = fs.statSync(treeRoot);
      if (stat.isDirectory()) {
        return buildTree(treeRoot);
      } else {
        throw new Error("path: " + treeRoot + " is not a directory");
      }
    }
function(treeRoot) {
      var stat = fs.statSync(treeRoot);
      if (stat.isDirectory()) {
        return buildTree(treeRoot);
      } else {
        throw new Error("path: " + treeRoot + " is not a directory");
      }
    }
function ( treeRoot ) { var stat = fs . statSync ( treeRoot ) ; if ( stat . isDirectory ( ) ) { return buildTree ( treeRoot ) ; } else { throw new Error ( "path: " + treeRoot + " is not a directory" ) ; } }
Crawl the given directory and build the tree object model for further use
Crawl the given directory and build the tree object model for further use