lib/zipper.rb
def get_entries(directory_or_file, entry_path, ignore_entries)
            if File.directory? directory_or_file
                get_dir_entries_recursively(directory_or_file, entry_path, ignore_entries)
            else
                FileEntry.new(directory_or_file, false, entry_path)
            end
        end
def get_entries(directory_or_file, entry_path, ignore_entries)
            if File.directory? directory_or_file
                get_dir_entries_recursively(directory_or_file, entry_path, ignore_entries)
            else
                FileEntry.new(directory_or_file, false, entry_path)
            end
        end
Creates +FileEntry+ for file or array of entries for directory and subdirectories
 Params:
 +directory_or_file+:: path to directory or file
 +entry_path+:: path with which the entry should be put into zip