Method: Bundler::Source::Git#migrate_cache

Defined in:
lib/bundler/source/git.rb

#migrate_cache(custom_path = nil, local: false) ⇒ Object



217
218
219
220
221
222
223
# File 'lib/bundler/source/git.rb', line 217

def migrate_cache(custom_path = nil, local: false)
  if local
    cache_to(custom_path, try_migrate: false)
  else
    cache_to(custom_path, try_migrate: true)
  end
end