MCPcopy Create free account
hub / github.com/bootc-dev/bootc / write_to

Method write_to

crates/lib/src/install/aleph.rs:84–89  ·  view source on GitHub ↗

Serialize to a file in the target root.

(&self, root: &Dir)

Source from the content-addressed store, hash-verified

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}

Callers 1

install_with_sysrootFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected