(p: string)
| 474 | } |
| 475 | |
| 476 | async function isFile(p: string): Promise<boolean> { |
| 477 | try { |
| 478 | return (await stat(p)).isFile(); |
| 479 | } catch { |
| 480 | return false; |
| 481 | } |
| 482 | } |
| 483 | |
| 484 | async function isDir(p: string): Promise<boolean> { |
| 485 | try { |
no test coverage detected