* Creates a directory. * @param {string} path The directory path * @param {object} [options] Options * @returns {Promise }
(path, options)
| 146 | * @returns {Promise<void>} |
| 147 | */ |
| 148 | async mkdir(path, options) { |
| 149 | if (this.readonly) { |
| 150 | throw createEROFS('mkdir', path); |
| 151 | } |
| 152 | throw new ERR_METHOD_NOT_IMPLEMENTED('mkdir'); |
| 153 | } |
| 154 | |
| 155 | /** |
| 156 | * Creates a directory synchronously. |