lib/wmap/site_tracker.rb
# Setter to delete site entry to the cache in batch (from a file)
Setter to delete site entry to the cache in batch (from a file)
Setter to delete site entry to the cache in batch ( from a file )
def file_delete(file)
		puts "Delete entries to the local site store from file: #{file}" if @verbose
		raise "File non-exist. Please check your file path and name again: #{file}" unless File.exist?(file)
		sites=file_2_list(file)
		changes=Array.new
		changes=bulk_delete(sites) unless sites.nil? or sites.empty?
	rescue => ee
		puts "Exception on method file_delete: #{ee} for file: #{file}" if @verbose
	end
def file_delete ( file ) puts "Delete entries to the local site store from file: #{file}" if @verbose raise "File non-exist. Please check your file path and name again: #{file}" unless File . exist? ( file ) sites = file_2_list ( file ) changes = Array . new changes = bulk_delete ( sites ) unless sites . nil? or sites . empty? rescue => ee puts "Exception on method file_delete: #{ee} for file: #{file}" if @verbose end
Setter to delete site entry to the cache in batch (from a file)
Setter to delete site entry to the cache in batch ( from a file )
file
<not_specific>