Skip to main content

write

Function write 

pub fn write(
    cache_root: &Path,
    repo_path: &Path,
    key: &str,
    report: &ChangeSetReport,
)
Expand description

Write report to the sidecar for key, creating the directory if needed. Best-effort: a cache is an optimization, so any failure is logged at warn and swallowed — a gate run must never fail because its report could not be cached.