lib/xcres/analyzer/analyzer.rb
def filter_exclusions file_paths
      file_paths.reject do |path|
        exclude_file_patterns.any? { |pattern| File.fnmatch("#{pattern}", path) || File.fnmatch("**/#{pattern}", path) }
      end
    end
# Apply the configured exclude file patterns to a list of files
#
# @param [Array<Pathname>] file_paths
#        the list of files to filter
#
# @param [Array<Pathname>]
#        the filtered list of files
#
Apply the configured exclude file patterns to a list of files
Apply the configured exclude file patterns to a list of files
def filter_exclusions file_paths
      file_paths.reject do |path|
        exclude_file_patterns.any? { |pattern| File.fnmatch("#{pattern}", path) || File.fnmatch("**/#{pattern}", path) }
      end
    end
def filter_exclusions file_paths file_paths . reject do | path | exclude_file_patterns . any? { | pattern | File . fnmatch ( "#{pattern}" , path ) || File . fnmatch ( "**/#{pattern}" , path ) } end end
Apply the configured exclude file patterns to a list of files
Apply the configured exclude file patterns to a list of files
file_paths
the filtered list of files
the filtered list of files