method

prune_cache

ruby latest stable - Class: Bundler::Runtime

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

prune_cache(cache_path)
public

No documentation available.

# File lib/bundler/runtime.rb, line 150
    def prune_cache(cache_path)
      SharedHelpers.filesystem_access(cache_path) do |p|
        FileUtils.mkdir_p(p)
      end unless File.exist?(cache_path)
      resolve = @definition.resolve
      prune_gem_cache(resolve, cache_path)
      prune_git_and_path_cache(resolve, cache_path)
    end