| 
									
										
										
										
											2023-08-08 13:54:59 -07:00
										 |  |  | # typed: strict | 
					
						
							| 
									
										
										
										
											2019-04-19 15:38:03 +09:00
										 |  |  | # frozen_string_literal: true | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-09-06 08:29:14 +02:00
										 |  |  | module Cask | 
					
						
							| 
									
										
										
										
											2020-08-24 21:47:07 +02:00
										 |  |  |   # Helper functions for the cask cache. | 
					
						
							|  |  |  |   # | 
					
						
							|  |  |  |   # @api private | 
					
						
							| 
									
										
										
										
											2016-09-24 13:52:43 +02:00
										 |  |  |   module Cache | 
					
						
							| 
									
										
										
										
											2020-11-17 03:52:27 +01:00
										 |  |  |     sig { returns(Pathname) } | 
					
						
							|  |  |  |     def self.path | 
					
						
							| 
									
										
										
										
											2023-08-08 13:54:59 -07:00
										 |  |  |       @path ||= T.let(HOMEBREW_CACHE/"Cask", T.nilable(Pathname)) | 
					
						
							| 
									
										
										
										
											2018-06-09 09:42:49 +02:00
										 |  |  |     end | 
					
						
							| 
									
										
										
										
											2016-08-18 22:11:42 +03:00
										 |  |  |   end | 
					
						
							|  |  |  | end |