mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
12 lines
203 B
Ruby
12 lines
203 B
Ruby
# 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
|