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