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