2020-10-10 14:16:11 +02:00
|
|
|
# typed: strict
|
2019-04-19 15:38:03 +09:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-11-22 10:49:41 -08:00
|
|
|
class Cleaner
|
|
|
|
private
|
|
|
|
|
2024-03-10 20:20:34 -04:00
|
|
|
sig { params(path: Pathname).returns(T::Boolean) }
|
2017-11-22 10:49:41 -08:00
|
|
|
def executable_path?(path)
|
|
|
|
path.elf? || path.text_executable?
|
|
|
|
end
|
|
|
|
end
|