datastore: add single-level and recursive namespace iterators

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2022-04-24 20:23:30 +02:00
parent 02ec2ae9b8
commit 90e3869690
3 changed files with 222 additions and 6 deletions

View File

@ -206,7 +206,7 @@ pub use manifest::BackupManifest;
pub use store_progress::StoreProgress;
mod datastore;
pub use datastore::{check_backup_owner, DataStore, ListGroups, ListSnapshots};
pub use datastore::{check_backup_owner, DataStore, ListGroups, ListNamespaces, ListSnapshots};
mod snapshot_reader;
pub use snapshot_reader::SnapshotReader;