class Rugged::Diff::Delta
Attributes
binary[R]
binary?[R]
diff[R]
new_file[R]
old_file[R]
owner[R]
similarity[R]
status[R]
status_char[R]
Public Instance Methods
added?()
click to toggle source
# File lib/rugged/diff/delta.rb, line 21 def added? status == :added end
copied?()
click to toggle source
# File lib/rugged/diff/delta.rb, line 37 def copied? status == :copied end
deleted?()
click to toggle source
# File lib/rugged/diff/delta.rb, line 25 def deleted? status == :deleted end
ignored?()
click to toggle source
# File lib/rugged/diff/delta.rb, line 41 def ignored? status == :ignored end
inspect()
click to toggle source
# File lib/rugged/diff/delta.rb, line 53 def inspect "#<#{self.class.name}:#{object_id} {old_file: #{old_file.inspect}, new_file: #{new_file.inspect}, similarity: #{similarity.inspect}, status: #{status.inspect}>" end
modified?()
click to toggle source
# File lib/rugged/diff/delta.rb, line 29 def modified? status == :modified end
renamed?()
click to toggle source
# File lib/rugged/diff/delta.rb, line 33 def renamed? status == :renamed end
typechange?()
click to toggle source
# File lib/rugged/diff/delta.rb, line 49 def typechange? status == :typechange end
untracked?()
click to toggle source
# File lib/rugged/diff/delta.rb, line 45 def untracked? status == :untracked end