public static List<CuratorOperation> deleteAll(String path, Curator curator) {
        if ( ! curator.exists(Path.fromString(path))) return List.of();

        List<CuratorOperation> operations = new ArrayList<>();
        deleteRecursively(Path.fromString(path), operations, curator);
        return operations;
    }
Returns operations deleting this path and everything below it, in an order where a parent
is ordered after all its children,
such that the operations will succeed when executed in the returned order.
This does not fail, but returns an empty list if the path does not exist.
zkfacade/src/main/java/com/yahoo/vespa/curator/transaction/CuratorOperations.java