Module: OS::Mac::Cask::Artifact::AbstractUninstall::ClassMethods Private
- Defined in:
- extend/os/mac/cask/artifact/abstract_uninstall.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
- #bundle_identifier_for_pid(pid) ⇒ String? private
- #parent_pid(pid) ⇒ Integer? private
Instance Method Details
#bundle_identifier_for_pid(pid) ⇒ 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.
28 29 30 |
# File 'extend/os/mac/cask/artifact/abstract_uninstall.rb', line 28 def bundle_identifier_for_pid(pid) MacOS::FFI::AppKit.bundle_identifier_for_pid(pid) end |
#parent_pid(pid) ⇒ Integer?
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.
23 24 25 |
# File 'extend/os/mac/cask/artifact/abstract_uninstall.rb', line 23 def parent_pid(pid) MacOS::FFI::LibProc.parent_pid(pid) end |