Sha256: ef4bd09c047daae012b3d47e83ea41ba2859b84681a4addf6a7e31c0206b8ea0
Contents?: true
Size: 420 Bytes
Versions: 15
Compression:
Stored size: 420 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', hash).pipe( ::EacGit::Executables.tar.command('-xC', path) ) end end end end end
Version data entries
15 entries across 15 versions & 2 rubygems