Skip to content

createDirectory

Node.js 런타임 필요 ('qsu/node')

지정된 경로로 디렉토리를 생성합니다. 디렉토리가 이미 존재하는 경우, 이 작업은 무시됩니다.

Parameters

이름타입필수기본값
filePathstring
File or directory path
recursivenamedbooleantrue
Recursively creates all directories in the given path.

named 표시가 있는 파라미터는 Dart에서는 named 파라미터, 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