Serialize to a file in the target root.
(&self, root: &Dir)
| 82 | |
| 83 | /// Serialize to a file in the target root. |
| 84 | pub(crate) fn write_to(&self, root: &Dir) -> Result<()> { |
| 85 | root.atomic_replace_with(BOOTC_ALEPH_PATH, |f| { |
| 86 | anyhow::Ok(self.to_canon_json_writer(f)?) |
| 87 | }) |
| 88 | .context("Writing aleph version") |
| 89 | } |
| 90 | } |
no outgoing calls
no test coverage detected