(path: string)
| 19 | } |
| 20 | |
| 21 | export const isFile = async (path: string): Promise<boolean> => |
| 22 | await fileExists(path) && (await stat(path)).isFile() |
| 23 | |
| 24 | export const isDir = async (path: string): Promise<boolean> => |
| 25 | await fileExists(path) && (await stat(path)).isDirectory() |
no test coverage detected