Spec-Zone.ru › Homebrew

Module: OS::Mac::DevCmd::Bottle Private

Included in:
Homebrew::DevCmd::Bottle
Defined in:
extend/os/mac/dev-cmd/bottle.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

  • #gnu_tar(gnu_tar_formula) ⇒ String private
  • #tar_args ⇒ Array<String> private

Instance Method Details

#gnu_tar(gnu_tar_formula) ⇒ String

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:

  • gnu_tar_formula (Formula)

Returns:

  • (String)


14
15
16
# File 'extend/os/mac/dev-cmd/bottle.rb', line 14

def gnu_tar(gnu_tar_formula)
  "#{gnu_tar_formula.opt_bin}/gtar"
end

#tar_args ⇒ Array<String>

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.

Returns:

  • (Array<String>)


9
10
11
# File 'extend/os/mac/dev-cmd/bottle.rb', line 9

def tar_args
  ["--no-mac-metadata", "--no-acls", "--no-xattrs"].freeze
end

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

Spec-Zone.ru

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