# File lib/grit/git-ruby/object.rb, line 143 def format_type case type when :link 'link' when :directory 'tree' when :file 'blob' end end