aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/cache.rb
blob: d2d0222ba90057dfef88fb15022537d4d3cc6dc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
module Hbc
  module Cache
    module_function

    def ensure_cache_exists
      return if Hbc.cache.exist?

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