# File lib/rugged/diff/delta.rb, line 17 def added? status == :added end
# File lib/rugged/diff/delta.rb, line 33 def copied? status == :copied end
# File lib/rugged/diff/delta.rb, line 21 def deleted? status == :deleted end
# File lib/rugged/diff/delta.rb, line 37 def ignored? status == :ignored end
# File lib/rugged/diff/delta.rb, line 49 def inspect "#<#{self.class.name}:#{object_id} {old_file: #{old_file.inspect}, new_file: #{new_file.inspect}, similarity: #{similarity.inspect}, status: #{status.inspect}>" end
# File lib/rugged/diff/delta.rb, line 25 def modified? status == :modified end
# File lib/rugged/diff/delta.rb, line 29 def renamed? status == :renamed end
# File lib/rugged/diff/delta.rb, line 45 def typechange? status == :typechange end
# File lib/rugged/diff/delta.rb, line 41 def untracked? status == :untracked end