def _get_cached_file_name(bucket_name, saltenv, path):
 file_path = os.path.join(_get_cache_dir(), saltenv, bucket_name, path)
 if (not os.path.exists(os.path.dirname(file_path))):
  os.makedirs(os.path.dirname(file_path))
 return file_path

def _get_cached_file_name ( bucket_name , saltenv , path ) : file_path = os . path . join ( _get_cache_dir ( ) , saltenv , bucket_name , path ) if ( not os . path . exists ( os . path . dirname ( file_path ) ) ) : os . makedirs ( os . path . dirname ( file_path ) ) return file_path
return the cached file name for a bucket path file .