Method: FilesInMyDiff::Git::Diff#changes
- Defined in:
- lib/files_in_my_diff/git/diff.rb
#changes ⇒ Object
19 20 21 22 23 24 25 26 |
# File 'lib/files_in_my_diff/git/diff.rb', line 19 def changes parent = @object.parents.first return [] if parent.nil? parent.diff(@object).map do |change| { path: change.path, type: change.type } end end |