10 lines
189 B
Ruby
Raw Normal View History

2018-07-27 02:42:19 +02:00
require_relative "uncompressed"
module UnpackStrategy
class Diff < Uncompressed
def self.can_extract?(path:, magic_number:)
magic_number.match?(/\A---\040/n)
end
end
end