Spec-Zone.ru › Homebrew

Module: OS::Linux::Cask::Artifact::Relocated Private

Extended by:
T::Helpers
Included in:
Cask::Artifact::Relocated
Defined in:
extend/os/linux/cask/artifact/relocated.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

  • #add_altname_metadata(file, altname, command:) ⇒ SystemCommand::Result? private

Instance Method Details

#add_altname_metadata(file, altname, command:) ⇒ SystemCommand::Result?

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:

  • file (::Pathname)
  • altname (::Pathname)
  • command (T.class_of(SystemCommand))

Returns:

  • (SystemCommand::Result, nil)


14
15
16
# File 'extend/os/linux/cask/artifact/relocated.rb', line 14

def add_altname_metadata(file, altname, command:)
  # no-op on Linux: /usr/bin/xattr for setting extended attributes is not available there.
end

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

Spec-Zone.ru

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