public static boolean deleteProject(String directory, String name) {
		ProjectLocator locator = new ProjectLocator(directory, name);
		File lockFile = locator.getProjectLockFile();

		if (!deleteLockFile(lockFile)) {
			throw new AssertException(
				"Project is in use and can't be deleted: " + locator.getProjectDir());
		}

		File projectDir = locator.getProjectDir();
		boolean success = deleteDir(locator.getProjectDir());
		if (!success) {
			// make sure the dir exists before failing
			if (projectDir.exists()) {
				return false;
			}
		}

		locator.getMarkerFile().delete();
		return true;
	}
Remove entire project.  Note: this will not remove the parent <code>directory</code> of
the project.

@param directory directory of the project.
@param name The name of the project to delete
@return True if the project was deleted.
Ghidra/Features/Base/src/main/java/ghidra/test/ProjectTestUtils.java