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

Method open_esp_dir

crates/lib/src/bootc_composefs/boot.rs:1274–1279  ·  view source on GitHub ↗

Open the mounted ESP as a capability-safe directory.

(&self)

Source from the content-addressed store, hash-verified

1272
1273 /// Open the mounted ESP as a capability-safe directory.
1274 pub(crate) fn open_esp_dir(&self) -> Result<Dir> {
1275 self.composefs
1276 .fd
1277 .open_dir(self.esp_subdir)
1278 .with_context(|| format!("Opening ESP at /{}", self.esp_subdir))
1279 }
1280}
1281
1282pub struct SecurebootKeys {

Callers 2

install_systemd_bootFunction · 0.80
setup_composefs_bootFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected