(filePath: string)
| 518 | |
| 519 | /** Test whether a file exists */ |
| 520 | export async function checkFileExists(filePath: string): Promise<boolean> { |
| 521 | const stats: fs.Stats | undefined = await fsStat(filePath); |
| 522 | return !!stats && stats.isFile(); |
| 523 | } |
| 524 | |
| 525 | /** Test whether a file exists */ |
| 526 | export async function checkExecutableWithoutExtensionExists(filePath: string): Promise<boolean> { |
no test coverage detected