MCPcopy Create free account
hub / github.com/SeanDragon/protools / rm

Method rm

common/src/main/java/pro/tools/path/ToolPath.java:168–172  ·  view source on GitHub ↗
(Path path)

Source from the content-addressed store, hash-verified

166 }
167
168 public static void rm(Path path) throws IOException {
169 if (isExists(path)) {
170 Files.delete(path);
171 }
172 }
173
174 public static void rmr(Path path) throws IOException {
175 Files.walkFileTree(path, OPTS, Integer.MAX_VALUE, RmrVisitor.INSTANCE);

Callers

nothing calls this directly

Calls 1

isExistsMethod · 0.95

Tested by

no test coverage detected