(file: string)
| 169 | } |
| 170 | |
| 171 | export function existsAndIsFileSync(file: string): boolean { |
| 172 | const stat = statSyncSafe(file); |
| 173 | return stat?.isFile() ?? false; |
| 174 | } |
| 175 | |
| 176 | export function existsAndIsDirectorySync(file: string): boolean { |
| 177 | const stat = statSyncSafe(file); |
no test coverage detected