code: @Deprecated
    public static void fullyDelete(FileSystem fs, Path dir)
    throws IOException {
      fs.delete(dir, true);
    }
docs: Recursively delete a directory.
  
  @param fs {@link FileSystem} on which the path is present
  @param dir directory to recursively delete
  @throws IOException
  @deprecated Use {@link FileSystem#delete(Path, boolean)}