class Hasta::S3Storage
The read-only file storage interface to the actual S3 data used by the local map/reduce jobs
Private Instance Methods
fog_files(s3_bucket, s3_uri)
click to toggle source
# File lib/hasta/s3_storage.rb, line 15 def fog_files(s3_bucket, s3_uri) s3_bucket.files.all('prefix' => s3_uri.path).reject { |file| file.key == s3_uri.path || (file_s3_uri(file).parent != s3_uri) } end