pub fn save_cache( cache_dir: &Path, name: &str, content: &str, ) -> Result<(), String>
Save a spec to cache.