Home > SYS_FileSystem > createDirectoryInFileSystem
SYS_FileSystem.createDirectoryInFileSystem() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
In file system in create folder
Signature
typescript
function createDirectoryInFileSystem(folderPath: string): Promise<boolean>;1
Parameters
Parameter | Type | Description |
|---|---|---|
folderPath | string | Folder path |
Returns
Promise<boolean>
Create Whether the operation is successful
Remarks
Supports recursively creating multi-level directories
Note 1: This API is only valid for clients. Calling it in a browser environment will always throw Error
Note 2: This API requires the user to enable the extension external interaction permission, if not enabled, it will always throw Error ADD since EDA v3.2.166