Spec-Zone.ru › Homebrew

Module: OS::Linux::BottleSpecification Private

Included in:
BottleSpecification
Defined in:
extend/os/linux/bottle_specification.rb

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

Instance Method Summary collapse

  • #skip_relocation?(tag: Utils::Bottles.tag, tab: nil) ⇒ Boolean private

Instance Method Details

#skip_relocation?(tag: Utils::Bottles.tag, tab: nil) ⇒ Boolean

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.

Parameters:

  • tag (Utils::Bottles::Tag) (defaults to: Utils::Bottles.tag)
  • tab (Tab, nil) (defaults to: nil)

Returns:

  • (Boolean)


8
9
10
11
# File 'extend/os/linux/bottle_specification.rb', line 8

def skip_relocation?(tag: Utils::Bottles.tag, tab: nil)
  # Homebrew versions prior to 5.1.15 generated incorrect :any_skip_relocation
  !tab.nil? && tab.parsed_homebrew_version >= "5.1.15" && super
end

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/OS/Linux/BottleSpecification.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API