MCPcopy Create free account
hub / github.com/bbejeck/Java-7 / cleanIfExists

Method cleanIfExists

src/main/java/bbejeck/nio/util/DirUtils.java:45–50  ·  view source on GitHub ↗

Walks file tree starting at the given path and deletes all files but leaves the directory structure intact. If the given Path does not exist nothing is done. @param path @throws IOException

(Path path)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.95

Tested by

no test coverage detected