Method: Git::Object::AbstractObject#archive
- Defined in:
- lib/git/object.rb
permalink #archive(file = nil, opts = {})
creates an archive of this object (tree)
71 72 73 |
# File 'lib/git/object.rb', line 71 def archive(file = nil, opts = {}) @base.lib.archive(@objectish, file, opts) end |