Module: helpers/utils/fs
Table of contents
Functions
Functions
clearDirectory
▸ clearDirectory(path
): void
Delete all files within the specified directory.
Parameters
Name | Type | Description |
---|---|---|
path | string | The directory path where files will be deleted. |
Returns
void
Defined in
src/electron/helpers/utils/fs.ts:16 (opens in a new tab)
createDirectory
▸ createDirectory(path
): string
Parameters
Name | Type |
---|---|
path | string |
Returns
string