(basePath: string)
| 177 | } |
| 178 | |
| 179 | async readdir(basePath: string) { |
| 180 | basePath = path.normalize(basePath); |
| 181 | |
| 182 | const entry = this._assertDir(basePath); |
| 183 | |
| 184 | const names = entry.children.map(c => c.name); |
| 185 | names.sort(); |
| 186 | return names; |
| 187 | } |
| 188 | |
| 189 | async mkdir(dirPath: string, options?: { recursive?: boolean }) { |
| 190 | dirPath = path.normalize(dirPath); |
no test coverage detected