storage API
Delete
delete a resource associed with the specified path
await storageInterface.update("index/", new Blob(["test"]));
await storageInterface.delete("index/");// logs {path:"index/"}
Parameters
- path
- string - resource path. The base path is the path of the current project.
- project
- string - The base path will be changed to the one associated with the global component linked with this parameter.
Return Value
A Promise that resolve to a JSON object structured as follows
- path
- string- deleted path
Description
This method delete a file resource.
Project parameter is used to delete a project other than the one being worked on.