MCPcopy Index your code
hub / github.com/benfry/processing4 / removeDir

Method removeDir

app/src/processing/app/Util.java:376–378  ·  view source on GitHub ↗

Remove all files in a directory and the directory itself. Prints error messages with failed filenames. Does not follow symlinks. Use Platform.deleteFile() instead, which first attempts to use the Trash or Recycle Bin, out of an abundance of caution.

(File dir)

Source from the content-addressed store, hash-verified

374 * the Trash or Recycle Bin, out of an abundance of caution.
375 */
376 static public boolean removeDir(File dir) {
377 return removeDir(dir, true);
378 }
379
380
381 /**

Callers 2

deleteFileMethod · 0.95
CommanderMethod · 0.95

Calls 3

listFilesMethod · 0.45
deleteMethod · 0.45
printlnMethod · 0.45

Tested by

no test coverage detected