Spec-Zone.ru › Homebrew

Module: OS::Linux::Cask::Artifact::Moved Private

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

  • #backup_copy_args(target, source) ⇒ Array<String, ::Pathname> private

Instance Method Details

#backup_copy_args(target, source) ⇒ Array<String, ::Pathname>

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:

  • target (::Pathname)
  • source (::Pathname)

Returns:

  • (Array<String, ::Pathname>)


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

def backup_copy_args(target, source)
  # GNU `cp --reflink=auto` reduces I/O when the filesystem supports it.
  ["--reflink=auto", *super]
end

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

Spec-Zone.ru

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