()
| 142 | |
| 143 | |
| 144 | public static void emptyCurrentDir() { |
| 145 | File file = new File(ConstantVal.BASE_PATH); |
| 146 | final String[] paths = file.list(); |
| 147 | if (paths != null) { |
| 148 | Arrays.stream(paths).forEach(path -> { |
| 149 | if (ZitContext.isNotIgnored(path)) { |
| 150 | FileUtil.deleteDir(path); |
| 151 | } |
| 152 | }); |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | |
| 157 | public static boolean isFile(String path) { |
no test coverage detected