bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/HTML5LocalFileImpl.js
function(parentLocation, folderName) {
			var that = this;
			return this._getEntry(parentLocation).then(function(dirEntry) {
				var d = new orion.Deferred();
				dirEntry.getDirectory(folderName, {create:true}, function() {d.resolve(that.read(parentLocation + "/" + folderName, true));}, d.reject);
				return d;
			});
		}
function(parentLocation, folderName) {
			var that = this;
			return this._getEntry(parentLocation).then(function(dirEntry) {
				var d = new orion.Deferred();
				dirEntry.getDirectory(folderName, {create:true}, function() {d.resolve(that.read(parentLocation + "/" + folderName, true));}, d.reject);
				return d;
			});
		}
function ( parentLocation , folderName ) { var that = this ; return this . _getEntry ( parentLocation ) . then ( function ( dirEntry ) { var d = new orion . Deferred ( ) ; dirEntry . getDirectory ( folderName , { create : true } , function ( ) { d . resolve ( that . read ( parentLocation + "/" + folderName , true ) ) ; } , d . reject ) ; return d ; } ) ; }
Creates a folder.
@param {String} parentLocation The location of the parent folder
@param {String} folderName The name of the folder to create
@return {Object} JSON representation of the created folder
Creates a folder .