Azure / AzureStor

R interface to Azure storage accounts
Other
64 stars 20 forks source link

Include delete_snapshots parameter in delete_blob() and delete_blob_dir() #113

Closed icct-uwetietge closed 2 years ago

icct-uwetietge commented 2 years ago

If snapshots exists, delete_blob() and delete_blob_dir() fail with the error message: "This operation is not permitted because the blob has snapshots." Deleting snapshots could be implemented using a delete_snapshots parameter taking the arguments NULL, "include", or "only". If not NULL, the argument should be passed on to the header x-ms-delete-snapshots.

hongooi73 commented 2 years ago

Full snapshot support is in the latest update, can you give it a go and let me know if you run into problems?