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

Function tmp_root

crates/utils/src/chroot.rs:191–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

189 use cap_std_ext::camino::Utf8PathBuf;
190
191 fn tmp_root() -> (tempfile::TempDir, Utf8PathBuf) {
192 let dir = tempfile::tempdir().unwrap();
193 let path = Utf8PathBuf::from_path_buf(dir.path().to_path_buf()).unwrap();
194 (dir, path)
195 }
196
197 #[test]
198 fn builder_accumulates_binds_and_env() {

Calls 1

pathMethod · 0.45