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

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:

Returns:



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