(name)
| 6 | export const stat = fs.stat; |
| 7 | |
| 8 | export function isDir(name) { |
| 9 | return stat(name) |
| 10 | .then(stats => stats.isDirectory()) |
| 11 | .catch(() => false); |
| 12 | } |
| 13 | |
| 14 | export function isFile(name) { |
| 15 | return stat(name) |
no outgoing calls
no test coverage detected
searching dependent graphs…