Flowdock
method

delete_prefixed

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: AzureStorageService
delete_prefixed(prefix) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/lib/active_storage/service/azure_storage_service.rb, line 60
    def delete_prefixed(prefix)
      instrument :delete_prefixed, prefix: prefix do
        marker = nil

        loop do
          results = blobs.list_blobs(container, prefix: prefix, marker: marker)

          results.each do |blob|
            blobs.delete_blob(container, blob.name)
          end

          break unless marker = results.continuation_token.presence
        end
      end
    end
Register or log in to add new notes.