whole_func_string: function (rootPath) {
  	// public properties
  	this.plugins = {};
  	this.mainTree = {};
  	this.groups = {};
  	this.resolved = false;
  	if (rootPath) {
  		if (typeof rootPath !== 'string') {
  			throw new Error( 'Invalid rootPath parameter creating tree' );
  		}
  		this.rootPath = rootPath;
  	} else {
  		// no argument passed
  		this.rootPath = '.';
  	}
  }
func_code_string: function (rootPath) {
  	// public properties
  	this.plugins = {};
  	this.mainTree = {};
  	this.groups = {};
  	this.resolved = false;
  	if (rootPath) {
  		if (typeof rootPath !== 'string') {
  			throw new Error( 'Invalid rootPath parameter creating tree' );
  		}
  		this.rootPath = rootPath;
  	} else {
  		// no argument passed
  		this.rootPath = '.';
  	}
  }
func_documentation_string: Wiretree 
  Wiretree constructor
  Creates new tree
  
  Example:
  
  ```javascript
  var Wiretree = require('wiretree');
  var tree = new Wiretree( 'path/to/rootFolder');
  ```
  
  @param  {String} folderPath path to root folder