MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / remove

Method remove

src/org/opensourcephysics/tools/JarTool.java:865–870  ·  view source on GitHub ↗

Completely removes a directory (without warning!) @param directory File The directory to delete

(File directory)

Source from the content-addressed store, hash-verified

863 * @param directory File The directory to delete
864 */
865 static public boolean remove(File directory) {
866 if (directory.exists() && directory.isDirectory()) {
867 return recursiveClearDirectory(directory, FileSystemView.getFileSystemView());
868 }
869 return false;
870 }
871
872 /**
873 * Returns all the files under a given directory

Callers 2

compressMethod · 0.95
compressListMethod · 0.95

Calls 2

existsMethod · 0.80

Tested by

no test coverage detected