Method: Git::Object::AbstractObject#archive

Defined in:
lib/git/object.rb

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

creates an archive of this object (tree)

[View source]

71
72
73
# File 'lib/git/object.rb', line 71

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