Flowdock
method

delete_prefixed

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: DiskService
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/disk_service.rb, line 59
    def delete_prefixed(prefix)
      instrument :delete_prefixed, prefix: prefix do
        Dir.glob(path_for("#{prefix}*")).each do |path|
          FileUtils.rm_rf(path)
        end
      end
    end
Register or log in to add new notes.