lib/browse_everything/driver/s3.rb
# Given a listing and a S3 listing and path, populate the entries
# @param listing [Seahorse::Client::Response]
# @param path [String]
Given a listing and a S3 listing and path, populate the entries
Given a listing and a S3 listing and path populate the entries
def add_files(listing, path)
        listing.contents.each do |entry|
          key = from_base(entry.key)
          new_entry = entry_for(key, entry.size, entry.last_modified, false)
          @entries << new_entry unless strip(key) == strip(path) || new_entry.nil?
        end
      end
def add_files ( listing , path ) listing . contents . each do | entry | key = from_base ( entry . key ) new_entry = entry_for ( key , entry . size , entry . last_modified , false ) @entries << new_entry unless strip ( key ) == strip ( path ) || new_entry . nil? end end
Given a listing and a S3 listing and path, populate the entries
Given a listing and a S3 listing and path populate the entries
listing
path
None