Spec-Zone.ru › Homebrew

Module: OS::Linux::Cask::Utils::Trash::ClassMethods Private

Defined in:
extend/os/linux/cask/utils/trash.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

  • #trash(*paths, command: nil) ⇒ Array<(Array<String>, Array<String>)> private

Instance Method Details

#trash(*paths, command: nil) ⇒ Array<(Array<String>, 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.

Parameters:

  • paths (::Pathname)
  • command (T.class_of(SystemCommand), nil) (defaults to: nil)

Returns:

  • (Array<(Array<String>, Array<String>)>)


14
15
16
# File 'extend/os/linux/cask/utils/trash.rb', line 14

def trash(*paths, command: nil)
  freedesktop_trash(*paths)
end

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

Spec-Zone.ru

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