Method: Grit::Status::StatusFile#blob
- Defined in:
- lib/grit/status.rb
#blob(type = :index) ⇒ Object
78 79 80 81 82 83 84 |
# File 'lib/grit/status.rb', line 78 def blob(type = :index) if type == :repo @base.object(@sha_repo) else @base.object(@sha_index) rescue @base.object(@sha_repo) end end |