15 lines
325 B
Ruby
Raw Permalink Normal View History

# typed: strict
# frozen_string_literal: true
require_relative "directory"
module UnpackStrategy
2020-08-09 06:09:05 +02:00
# Strategy for unpacking CVS repositories.
class Cvs < Directory
sig { override.params(path: Pathname).returns(T::Boolean) }
def self.can_extract?(path)
!!(super && (path/"CVS").directory?)
end
end
end