Sha256: 1497fc5fa32bf2d2db039dccc178c9a26028ff3d24e9deaa1d0e7b80edafebbc
Contents?: true
Size: 418 Bytes
Versions: 155
Compression:
Stored size: 418 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' module EacGit class Local class Commit module Archive # @return [EacRubyUtils::Envs::Command] def archive_to_dir(path) path = path.to_pathname repo.command('archive', '--format=tar', id).pipe( ::EacGit::Executables.tar.command('-xC', path) ) end end end end end
Version data entries
155 entries across 155 versions & 3 rubygems