Method: RuboCop::ResultCache.cache_root
- Defined in:
- lib/rubocop/result_cache.rb
.cache_root(config_store, cache_root_override = nil) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
87 88 89 90 91 |
# File 'lib/rubocop/result_cache.rb', line 87 def self.cache_root(config_store, cache_root_override = nil) CacheConfig.root_dir do cache_root_override || config_store.for_pwd.for_all_cops['CacheRootDirectory'] end end |