accessible group iter: rename "new" to "new_owned"

to clarify that it's only returning owned backups that way.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-05-19 12:34:04 +02:00
parent f12f408e91
commit 93821e87e6

View File

@ -30,7 +30,7 @@ pub struct ListAccessibleBackupGroups<'a> {
impl<'a> ListAccessibleBackupGroups<'a> {
// TODO: builder pattern
pub fn new(
pub fn new_owned(
store: &'a Arc<DataStore>,
ns: BackupNamespace,
max_depth: usize,