2017-03-07 00:31:01 +01:00

13 lines
196 B
Ruby

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