2019-04-20 13:27:36 +09:00

14 lines
214 B
Ruby

# frozen_string_literal: true
require_relative "directory"
module UnpackStrategy
class Git < Directory
using Magic
def self.can_extract?(path)
super && (path/".git").directory?
end
end
end