Method: Git::Status::StatusFile#blob

Defined in:
lib/git/status.rb

#blob(type = :index) ⇒ Object



69
70
71
72
73
74
75
# File 'lib/git/status.rb', line 69

def blob(type = :index)
  if type == :repo
    @base.object(@sha_repo)
  else
    @base.object(@sha_index) rescue @base.object(@sha_repo)
  end
end