(p: string)
| 381 | } |
| 382 | |
| 383 | public rmdirSync(p: string): void { |
| 384 | // Check first if directory is empty. |
| 385 | if (this.readdirSync(p).length > 0) { |
| 386 | throw ApiError.ENOTEMPTY(p); |
| 387 | } else { |
| 388 | this.removeEntry(p, true); |
| 389 | } |
| 390 | } |
| 391 | |
| 392 | public mkdirSync(p: string, mode: number): void { |
| 393 | const tx = this.store.beginTransaction('readwrite'), |
nothing calls this directly
no test coverage detected