Module: Hbc::Cache

Defined in:
Library/Homebrew/cask/lib/hbc/cache.rb

Class Method Summary collapse

Class Method Details

.ensure_cache_existsObject



5
6
7
8
9
10
# File 'Library/Homebrew/cask/lib/hbc/cache.rb', line 5

def ensure_cache_exists
  return if Hbc.cache.exist?

  odebug "Creating Cache at #{Hbc.cache}"
  Hbc.cache.mkpath
end