class Covered::Persist

def apply(record)

def apply(record)
	# The file must still exist:
	return unless path = expand_path(record[:path])
	return unless File.exist? path
	
	# If the file has been modified since... we can't use the coverage.
	return unless mtime = record[:mtime]
	return if File.mtime(path).to_f > record[:mtime]
	
	record[:coverage].each_with_index do |count, index|
		@output.mark(path, index, count) if count
	end
end