* Reads directory contents. * @param {string} path The directory path * @param {object} [options] Options * @returns {Promise }
(path, options)
| 126 | * @returns {Promise<string[]|Dirent[]>} |
| 127 | */ |
| 128 | async readdir(path, options) { |
| 129 | throw new ERR_METHOD_NOT_IMPLEMENTED('readdir'); |
| 130 | } |
| 131 | |
| 132 | /** |
| 133 | * Reads directory contents synchronously. |