# File lib/arr-pm/file.rb, line 177 def config_files # this stuff seems to be in the 'enum rpmfileAttrs_e' from rpm/rpmfi.h results = [] # short-circuit if there's no :fileflags tag return results unless tags.include?(:fileflags) tags[:fileflags].each_with_index do |flag, i| # The :fileflags (and other :file... tags) are an array, in order of # files in the rpm payload, we want a list of paths of config files. results << files[i] if mask?(flag, FLAG_CONFIG_FILE) end return results end