method
exist?
v6.0.0 -
Show latest stable
- Class:
ActiveStorage::Service::DiskService
exist?(key)public
No documentation available.
# File activestorage/lib/active_storage/service/disk_service.rb, line 66
def exist?(key)
instrument :exist, key: key do |payload|
answer = File.exist? path_for(key)
payload[:exist] = answer
answer
end
end