[pve-devel] [PATCH backup-qemu] make capi_types module public
Filip Schauer
f.schauer at proxmox.com
Wed Mar 13 14:39:36 CET 2024
Commit c7077bb3 moved ProxmoxBackupHandle into a separate file and
accidentally made it private in the process.
Revert this behaviour by making ProxmoxBackupHandle and
ProxmoxRestoreHandle accessible from outside of the crate again. These
handles are used in the function signatures of several public functions,
therefore it makes sense to have them public as well.
Signed-off-by: Filip Schauer <f.schauer at proxmox.com>
---
src/lib.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib.rs b/src/lib.rs
index 02e74f7..9067fc5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -11,7 +11,7 @@ use proxmox_lang::try_block;
use pbs_api_types::{Authid, BackupDir, BackupNamespace, BackupType, CryptMode};
use pbs_client::BackupRepository;
-mod capi_types;
+pub mod capi_types;
use capi_types::*;
mod commands;
--
2.39.2
More information about the pve-devel
mailing list