On 7/10/24 15:27, Christoph Heiss wrote: > diff --git a/proxmox-installer-common/src/setup.rs > b/proxmox-installer-common/src/setup.rs > index 9131ac9..29137bf 100644 > --- a/proxmox-installer-common/src/setup.rs > +++ b/proxmox-installer-common/src/setup.rs > @@ -163,24 +163,29 @@ pub fn installer_setup(in_test_mode: bool) -> > Result<(SetupInfo, LocaleInfo, Run > } else { > crate::RUNTIME_DIR.to_owned() > }; > - let path = PathBuf::from(base_path); > > + load_installer_setup_files(&PathBuf::from(base_path)) > +} > + > +pub fn load_installer_setup_files( > + base_path: &Path,
Could use AsRef<Path> here since it's public API. In the test specific code we could also use it for parameters, but there it's not really important since it's not public API. _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel