12 lines
203 B
Ruby
Raw Normal View History

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