mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
10 lines
182 B
Ruby
10 lines
182 B
Ruby
require_relative "directory"
|
|
|
|
module UnpackStrategy
|
|
class Git < Directory
|
|
def self.can_extract?(path:, magic_number:)
|
|
super && (path/".git").directory?
|
|
end
|
|
end
|
|
end
|