createFolder
Create a new folder at the specified path in the media directory.
Import
import { createFolder } from "@evershop/evershop/cms/services";
Syntax
createFolder(destinationPath: string): Promise<string>
Parameters
destinationPath
Type: string
Path where folder should be created, relative to media directory.
Return Value
Returns Promise<string> with the created folder path.
See Also
- browFiles - List files and folders
- uploadFile - Upload files
- deleteFile - Delete files