Object
# File lib/grit/git-ruby/internal/raw_object.rb, line 26 def initialize(type, content) @type = type @content = content end
# File lib/grit/git-ruby/internal/raw_object.rb, line 31 def sha1 Digest::SHA1.digest("%s %d\00"" % [@type, @content.length] + @content) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.