class ChefCLI::Policyfile::GitLockFetcher

def cache_path

Returns:
  • (Pathname) -
def cache_path
  Pathname.new(File.expand_path(File.join(ChefCLI::Helpers.package_home, "cache")))
    .join(".cache", "git", Digest::SHA1.hexdigest(uri))
end