mkdir
Create Folder
Type
(path: string) => result
Parameters
path
| Description | Required | Type | Default |
| ----=--------- | -------- | -------- | ------- |
| directory path | yes | string | - |
result
| Description | Type |
|---|---|
The result of the operation, 0 means success | number |
Code example
const result = hmFS.mkdir('path/to/dir')
console.log(result)