Skip to content

createDirectory

Requires a Node.js runtime ('qsu/node')

Creates a directory with the specified path. Ignores the operation if the directory already exists.

Parameters

NameTypeRequiredDefault
filePathstring
File or directory path
recursivenamedbooleantrue
Recursively creates all directories in the given path.

named parameters are passed as named parameters in Dart and keyword arguments in Python.

Returns

void

Examples

javascript
createDirectory('/home/user/a/b/c');
dart
createDirectory('/home/user/a/b/c');
python
createDirectory('/home/user/a/b/c')

Released under the MIT License