Class: Homebrew::Bundle::Checker::TapChecker Private
- Defined in:
- bundle/tap_checker.rb
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
Constant Summary collapse
- PACKAGE_TYPE =
This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.
:tap
- PACKAGE_TYPE_NAME =
This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.
"Tap"
Instance Method Summary collapse
- #find_actionable(entries, exit_on_first_error: false, no_upgrade: false, verbose: false) ⇒ Object private
Methods inherited from Base
#checkable_entries, #exit_early_check, #failure_reason, #format_checkable, #full_check, #installed_and_up_to_date?
Instance Method Details
#find_actionable(entries, exit_on_first_error: false, no_upgrade: false, verbose: false) ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
11 12 13 14 15 16 17 18 |
# File 'bundle/tap_checker.rb', line 11 def find_actionable(entries, exit_on_first_error: false, no_upgrade: false, verbose: false) requested_taps = format_checkable(entries) return [] if requested_taps.empty? require "bundle/tap_dumper" current_taps = Homebrew::Bundle::TapDumper.tap_names (requested_taps - current_taps).map { |entry| "Tap #{entry} needs to be tapped." } end |