pub fn save_cache(
path: &PathBuf,
signature: &[String],
sandbox_info: &[SandboxInfo],
)Expand description
What: Persist sandbox cache payload and signature to disk as JSON.
Inputs:
path: Destination file for the serialized cache contents.signature: Current install list signature to store alongside the payload.sandbox_info: Sandbox analysis metadata being cached.
Output:
- No return value; writes to disk best-effort and logs a debug message when successful.
Details:
- Serializes the data to JSON, writes it to
path, and includes the record count in logs.