diff --git a/rust/tool/shared/src/esp.rs b/rust/tool/shared/src/esp.rs index 7a66207..27cd071 100644 --- a/rust/tool/shared/src/esp.rs +++ b/rust/tool/shared/src/esp.rs @@ -11,10 +11,13 @@ use crate::generation::Generation; pub trait EspPaths { /// Build an ESP path structure out of the ESP root directory fn new(esp: impl AsRef) -> Self; + /// Return the used file paths to store as garbage collection roots. fn iter(&self) -> std::array::IntoIter<&PathBuf, N>; + /// Returns the path containing NixOS EFI binaries fn nixos_path(&self) -> &Path; + /// Returns the path containing Linux EFI binaries fn linux_path(&self) -> &Path; }