34 35 36 37 38 39 40 41
# File 'lib/asset_cloud/buckets/file_system_bucket.rb', line 34 def stat(key) begin stat = File.stat(path_for(key)) Metadata.new(true, stat.size, stat.ctime, stat.mtime) rescue Errno::ENOENT => e Metadata.new(false) end end