Daniel used this function (with recursive=True) to remove a "directory" with many sub-directories and files within it. It removed it from GCSFUSE but was still visible on the cloud console.
Additionally, I wrote this function to use the python API but sounds like calling gsutil would be faster due to parallelization.
Description
Daniel used this function (with recursive=True) to remove a "directory" with many sub-directories and files within it. It removed it from GCSFUSE but was still visible on the cloud console.
Additionally, I wrote this function to use the python API but sounds like calling gsutil would be faster due to parallelization.
So we should just rewrite this with gsutil.