_docker/lib/export/httrack_export_strategy.rb
#
# Export the given links, from the specified drupal host into the given export directory
#
Export the given links, from the specified drupal host into the given export directory
Export the given links from the specified drupal host into the given export directory
def export!(links_file, drupal_host, export_directory)
    cache_updates = check_and_roll_over_cache(export_directory, drupal_host)
    if check_if_update_to_existing_export(export_directory)
      run_update_to_existing_export(export_directory)
    else
      run_new_export(links_file, drupal_host, export_directory)
    end
    write_new_httrack_cache_update(export_directory, cache_updates)
    exported_to = "#{export_directory}/#{determine_export_directory_from_drupal_host(drupal_host)}"
    @export_post_processor.post_process_html_export(drupal_host, exported_to)
    @export_inspector.inspect_export(links_file, exported_to)
    exported_to
  end
def export! ( links_file , drupal_host , export_directory ) cache_updates = check_and_roll_over_cache ( export_directory , drupal_host ) if check_if_update_to_existing_export ( export_directory ) run_update_to_existing_export ( export_directory ) else run_new_export ( links_file , drupal_host , export_directory ) end write_new_httrack_cache_update ( export_directory , cache_updates ) exported_to = "#{export_directory}/#{determine_export_directory_from_drupal_host(drupal_host)}" @export_post_processor . post_process_html_export ( drupal_host , exported_to ) @export_inspector . inspect_export ( links_file , exported_to ) exported_to end
Export the given links, from the specified drupal host into the given export directory
Export the given links from the specified drupal host into the given export directory
links_file
<not_specific>
drupal_host
<not_specific>
export_directory
<not_specific>