Module: EacGit::Local::Commit::Archive
- Defined in:
- lib/eac_git/local/commit/archive.rb
Instance Method Summary collapse
Instance Method Details
#archive_to_dir(path) ⇒ EacRubyUtils::Envs::Command
10 11 12 13 14 15 |
# File 'lib/eac_git/local/commit/archive.rb', line 10 def archive_to_dir(path) path = path.to_pathname repo.command('archive', '--format=tar', id).pipe( ::EacGit::Executables.tar.command('-xC', path) ) end |