lib/browse_everything/driver/s3.rb
# Populate the entries with FileEntry objects from an S3 listing
# @param listing [Seahorse::Client::Response]
Populate the entries with FileEntry objects from an S3 listing
Populate the entries with FileEntry objects from an S3 listing
def add_directories(listing)
        listing.common_prefixes.each do |prefix|
          new_entry = entry_for(from_base(prefix.prefix), 0, Time.current, true)
          @entries << new_entry unless new_entry.nil?
        end
      end
def add_directories ( listing ) listing . common_prefixes . each do | prefix | new_entry = entry_for ( from_base ( prefix . prefix ) , 0 , Time . current , true ) @entries << new_entry unless new_entry . nil? end end
Populate the entries with FileEntry objects from an S3 listing
Populate the entries with FileEntry objects from an S3 listing
listing
None