Skip to content

FileManager.createDirectory

Kerri Shotts edited this page Oct 26, 2013 · 1 revision

(part of FileManager)

Parameters:

  • path - an absolute or relative path

Returns: Promise, resolving to the new directory

ASYNCHRONOUS

Creates the new directory, relative to the current working directory.

Usage

aFileManager.createDirectory ( "movies" )
            .then ( ... )
            .catch ( function ( e ) { console.log ( e ); }
            .done ();
Clone this wiki locally