Method: Git::Object::AbstractObject#archive

Defined in:
lib/git/object.rb

#archive(file = nil, opts = {}) ⇒ Object

creates an archive of this object (tree)



67
68
69
# File 'lib/git/object.rb', line 67

def archive(file = nil, opts = {})
  @base.lib.archive(@objectish, file, opts)
end