Index multiple files

The recursive method index_dir will be called for each directory found in paths.

See index_file

Property definitions

vsm $ FileIndex :: index_files
	# Index multiple files
	#
	# The recursive method `index_dir` will be called for each directory found
	# in `paths`.
	#
	# See `index_file`
	fun index_files(paths: Collection[String], auto_update: nullable Bool) do
		for path in paths do
			if path.to_path.is_dir then
				index_dir(path, false)
			else
				index_file(path, false)
			end
		end
		if auto_update != null and auto_update then update_index
	end
lib/vsm/vsm.nit:272,2--287,4