(_path: string, cb: (err: Error | null, list?: unknown[]) => void)
| 505 | cb(null); |
| 506 | }, |
| 507 | readdir(_path: string, cb: (err: Error | null, list?: unknown[]) => void): void { |
| 508 | if (failing.readdir === true) { |
| 509 | cb(makeSftpError(errorCode)); |
| 510 | return; |
| 511 | } |
| 512 | cb(null, []); |
| 513 | }, |
| 514 | // exists() always reports the file is absent so plain mkdir takes the |
| 515 | // create path (where `failing.mkdir` decides the outcome). |
| 516 | exists(_path: string, cb: (exists: boolean) => void): void { |
no test coverage detected