class Rugged::Reference
Public Instance Methods
local?()
click to toggle source
# File lib/ext/rugged.rb, line 3 def local? !remote? end
targets?(reference)
click to toggle source
# File lib/ext/rugged.rb, line 23 def targets?(reference) target == reference.target end
time()
click to toggle source
# File lib/ext/rugged.rb, line 7 def time # # we can't just use `target.time` here, because that # corresponds to the time attribute for the commit's # so-called "committer", not for its "author"... # # for regular commits these two time attributes will be # the same, but after rebasing for instance "committer" # will be different from "author", as will their "time" # attributes # # see also: https://git.io/fhNEv # target.author[:time] end