class Berkshelf::GitLocation

def cache_path

Returns:
  • (Pathname) -
def cache_path
  Pathname.new(Berkshelf.berkshelf_path)
    .join(".cache", "git", Digest::SHA1.hexdigest(uri))
end