class CarrierWave::Storage::Fog::File

Public Instance Methods

exists?() click to toggle source

Check if the file exists on the remote service

Returns

Boolean

true if file exists or false

# File lib/carrierwave/storage/fog/file_patch.rb, line 8
def exists?
  !!directory.files.head(path)
end