method
exist?
v8.0.0 -
Show latest stable
- Class:
ActiveStorage::Service::GCSService
exist?(key)public
No documentation available.
# File activestorage/lib/active_storage/service/gcs_service.rb, line 84
def exist?(key)
instrument :exist, key: key do |payload|
answer = file_for(key).exists?
payload[:exist] = answer
answer
end
end