_docker/lib/export/httrack_export_strategy.rb
#
# Writes the number of cache-updates back to the tracking file
#
Writes the number of cache-updates back to the tracking file
Writes the number of cache - updates back to the tracking file
def write_new_httrack_cache_update(export_directory, cache_updates)
    @log.info("Setting cache update count to '#{cache_updates}' of maximum permitted '#{max_httrack_cache_updates}' updates.")
      File.open("#{export_directory}/cache-updates",'w+') do |file|
        file.write(cache_updates)
      end
  end
def write_new_httrack_cache_update ( export_directory , cache_updates ) @log . info ( "Setting cache update count to '#{cache_updates}' of maximum permitted '#{max_httrack_cache_updates}' updates." ) File . open ( "#{export_directory}/cache-updates" , 'w+' ) do | file | file . write ( cache_updates ) end end
Writes the number of cache-updates back to the tracking file
Writes the number of cache - updates back to the tracking file
export_directory
<not_specific>
cache_updates
<not_specific>