12 lines
214 B
Ruby
Raw Normal View History

2020-10-10 14:16:11 +02:00
# typed: strict
# frozen_string_literal: true
class Cleaner
private
2020-10-28 18:49:10 +11:00
sig { params(path: Pathname).returns(T.nilable(T::Boolean)) }
def executable_path?(path)
path.elf? || path.text_executable?
end
end