跳到主要内容
版本号:Next

Namespace: fileUtils

Variables

Files

Const Files: Object

Type declaration

NameType
DatabaseNamestring

Defined in

file-utils.ts:5

Functions

createTempFolder

createTempFolder(prefix): Promise<string>

Create a temporary folder.

Parameters

NameTypeDescription
prefixstringThe prefix of the folder name.

Returns

Promise<string>

string

Defined in

file-utils.ts:16


createTempStorageFolder

createTempStorageFolder(prefix, folder?): Promise<string>

Create temporary folder for an asset.

Parameters

NameTypeDefault valueDescription
prefixstringundefined
folderstring'storage'name

Returns

Promise<string>

Defined in

file-utils.ts:26