Class: Uncov::Finder::Git
- Inherits:
-
Object
- Object
- Uncov::Finder::Git
- Includes:
- GitBase
- Defined in:
- lib/uncov/finder/git.rb
Overview
collect list of files stored in git
Instance Method Summary collapse
Instance Method Details
#code_files ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/uncov/finder/git.rb', line 9 def code_files cache(:code_files) do all_file_names.filter_map do |file_name| [file_name, true] if relevant_code_file?(file_name) end.to_h end end |
#simplecov_trigger_files ⇒ Object
17 18 19 |
# File 'lib/uncov/finder/git.rb', line 17 def simplecov_trigger_files code_files.keys + test_files end |