def _get_cache_filename(name, filename):
filename = os.path.abspath(filename)[<NUM_LIT:1>:]<EOL>home_folder = os.path.expanduser('<STR_LIT>')<EOL>base_cache_dir = os.path.join(home_folder, '<STR_LIT>', '<STR_LIT>')<EOL>return os.path.join(base_cache_dir, name, filename)<EOL>
Returns the cache location for filename and linter name.