Namespace: fileUtils
Variables
Files
• Const
Files: Object
Type declaration
Name | Type |
---|---|
DatabaseName | string |
Defined in
Functions
createTempFolder
▸ createTempFolder(prefix
): Promise
<string
>
Create a temporary folder.
Parameters
Name | Type | Description |
---|---|---|
prefix | string | The prefix of the folder name. |
Returns
Promise
<string
>
string
Defined in
createTempStorageFolder
▸ createTempStorageFolder(prefix
, folder?
): Promise
<string
>
Create temporary folder for an asset.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
prefix | string | undefined | |
folder | string | 'storage' | name |
Returns
Promise
<string
>