(file: string)
| 174 | } |
| 175 | |
| 176 | export function existsAndIsDirectorySync(file: string): boolean { |
| 177 | const stat = statSyncSafe(file); |
| 178 | return stat?.isDirectory() ?? false; |
| 179 | } |
| 180 | |
| 181 | export async function existsAndIsFileAsync(file: string): Promise<boolean> { |
| 182 | try { |
no test coverage detected