(path: string)
| 19 | } |
| 20 | |
| 21 | isFolder(path: string) { |
| 22 | try { |
| 23 | let stat = fs.lstatSync(path) |
| 24 | return stat.isDirectory() |
| 25 | } catch (e) { |
| 26 | return false |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | folderIsNotEmpty(folderPath: string): boolean { |
| 31 | return !this.folderIsEmpty(folderPath) |
nothing calls this directly
no outgoing calls
no test coverage detected