pub fn write_to_root_v2(
cache_root: &Path,
manifest: &CacheManifest,
) -> Result<(), ManifestError>Expand description
Write <cache_root>/.running-process-manifest.v2.pb atomically.
ยงErrors
ManifestError::Ioon filesystem failures.ManifestError::InsecureRegistry(re-used for the cache root) when the directory exists but has insecure permissions.