(_path: string, cb: (err: Error | null, stats?: unknown) => void)
| 470 | cb(null, dirStats); |
| 471 | }, |
| 472 | lstat(_path: string, cb: (err: Error | null, stats?: unknown) => void): void { |
| 473 | if (failing.lstat === true) { |
| 474 | cb(makeSftpError(errorCode)); |
| 475 | return; |
| 476 | } |
| 477 | cb(null, dirStats); |
| 478 | }, |
| 479 | readFile(_path: string, cb: (err: Error | null, data?: Buffer) => void): void { |
| 480 | if (failing.readFile === true) { |
| 481 | cb(makeSftpError(errorCode)); |
no test coverage detected