rename BackupDir's group_path to relative_group_path

datastore's group_path will be moved to BackupDir soon and
this is required to be able to properly distinguish them

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2022-04-19 09:45:22 +02:00
parent b444eb68af
commit 1f6a45c938
4 changed files with 11 additions and 11 deletions

View File

@ -65,7 +65,7 @@ const GROUP_NOTES_FILE_NAME: &str = "notes";
fn get_group_note_path(store: &DataStore, group: &BackupGroup) -> PathBuf {
let mut note_path = store.base_path();
note_path.push(group.group_path());
note_path.push(group.relative_group_path());
note_path.push(GROUP_NOTES_FILE_NAME);
note_path
}