datastore: cleanup and document backup group/dir openers
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
@ -32,7 +32,7 @@ impl SnapshotReader {
|
||||
datastore: Arc<DataStore>,
|
||||
snapshot: pbs_api_types::BackupDir,
|
||||
) -> Result<Self, Error> {
|
||||
let snapshot = datastore.backup_dir_from_spec(snapshot)?;
|
||||
let snapshot = datastore.backup_dir(snapshot)?;
|
||||
|
||||
let snapshot_path = snapshot.full_path(datastore.base_path());
|
||||
|
||||
|
Reference in New Issue
Block a user