From ad74b96dd8551c4b24d9b45ed59cc8447d2fb6d8 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Mon, 24 Aug 2020 23:44:12 +0200 Subject: [PATCH] Document `Quarantine`. --- Library/Homebrew/cask/quarantine.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cask/quarantine.rb b/Library/Homebrew/cask/quarantine.rb index 381ee80a06..a90a7ea942 100644 --- a/Library/Homebrew/cask/quarantine.rb +++ b/Library/Homebrew/cask/quarantine.rb @@ -4,6 +4,9 @@ require "development_tools" require "cask/exceptions" module Cask + # Helper module for quarantining files. + # + # @api private module Quarantine module_function @@ -11,15 +14,15 @@ module Cask QUARANTINE_SCRIPT = (HOMEBREW_LIBRARY_PATH/"cask/utils/quarantine.swift").freeze - # @private def swift @swift ||= DevelopmentTools.locate("swift") end + private :swift - # @private def xattr @xattr ||= DevelopmentTools.locate("xattr") end + private :xattr def check_quarantine_support odebug "Checking quarantine support"