pub fn write(data_dir: &Path, roots: &AgentRoots) -> Result<()>Expand description
Replace the file atomically: write a temp file beside it, then rename.
pub fn write(data_dir: &Path, roots: &AgentRoots) -> Result<()>Replace the file atomically: write a temp file beside it, then rename.