Document Quarantine
.
This commit is contained in:
parent
b484ddc842
commit
ad74b96dd8
@ -4,6 +4,9 @@ require "development_tools"
|
|||||||
require "cask/exceptions"
|
require "cask/exceptions"
|
||||||
|
|
||||||
module Cask
|
module Cask
|
||||||
|
# Helper module for quarantining files.
|
||||||
|
#
|
||||||
|
# @api private
|
||||||
module Quarantine
|
module Quarantine
|
||||||
module_function
|
module_function
|
||||||
|
|
||||||
@ -11,15 +14,15 @@ module Cask
|
|||||||
|
|
||||||
QUARANTINE_SCRIPT = (HOMEBREW_LIBRARY_PATH/"cask/utils/quarantine.swift").freeze
|
QUARANTINE_SCRIPT = (HOMEBREW_LIBRARY_PATH/"cask/utils/quarantine.swift").freeze
|
||||||
|
|
||||||
# @private
|
|
||||||
def swift
|
def swift
|
||||||
@swift ||= DevelopmentTools.locate("swift")
|
@swift ||= DevelopmentTools.locate("swift")
|
||||||
end
|
end
|
||||||
|
private :swift
|
||||||
|
|
||||||
# @private
|
|
||||||
def xattr
|
def xattr
|
||||||
@xattr ||= DevelopmentTools.locate("xattr")
|
@xattr ||= DevelopmentTools.locate("xattr")
|
||||||
end
|
end
|
||||||
|
private :xattr
|
||||||
|
|
||||||
def check_quarantine_support
|
def check_quarantine_support
|
||||||
odebug "Checking quarantine support"
|
odebug "Checking quarantine support"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user