Method: PDK::Module::UpdateManager#changed?
- Defined in:
- lib/pdk/module/update_manager.rb
#changed?(path) ⇒ Boolean
Check if the update manager will change the specified file upon sync.
70 71 72 73 74 |
# File 'lib/pdk/module/update_manager.rb', line 70 def changed?(path) changes[:added].any? { |add| add[:path] == path } || changes[:removed].include?(path) || changes[:modified].key?(path) end |