Method: PDK::Module::Build#ignored_path?
- Defined in:
- lib/pdk/module/build.rb
#ignored_path?(path) ⇒ Boolean
Check if the given path matches one of the patterns listed in the ignore file.
142 143 144 145 146 |
# File 'lib/pdk/module/build.rb', line 142 def ignored_path?(path) path = path.to_s + '/' if File.directory?(path) !ignored_files.match_paths([path], module_dir).empty? end |