pub fn write_to(path: &Path, vendor: VendorId) -> Result<()>
Persist vendor to an explicit path. Atomic. Test-friendly counterpart to [write] (mirrors crate::cache::Cache::at vs for_vendor).
vendor
write
crate::cache::Cache::at
for_vendor