mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
14 lines
273 B
Ruby
14 lines
273 B
Ruby
![]() |
module UnpackStrategy
|
||
|
class Uncompressed
|
||
|
include UnpackStrategy
|
||
|
|
||
|
alias extract_nestedly extract
|
||
|
|
||
|
private
|
||
|
|
||
|
def extract_to_dir(unpack_dir, basename:, verbose:)
|
||
|
FileUtils.cp path, unpack_dir/basename, preserve: true, verbose: verbose
|
||
|
end
|
||
|
end
|
||
|
end
|