docs: public static void cleanDirectory(File directory) throws IOException {
      requireNonNull(directory, DIRECTORY_CAN_NOT_BE_NULL);
      if (!directory.exists()) {
        return;
      }
  
      cleanDirectoryImpl(directory.toPath());
    }