move manifest and backup_info to pbs-datastore

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2021-07-07 11:34:45 +02:00
parent f75292bd8d
commit a5951b4f38
6 changed files with 20 additions and 16 deletions

View File

@ -3,7 +3,7 @@ use std::path::{Path, PathBuf};
use anyhow::{bail, format_err, Error};
use crate::api2::types::{
use pbs_api_types::{
BACKUP_ID_REGEX,
BACKUP_TYPE_REGEX,
BACKUP_DATE_REGEX,
@ -372,7 +372,7 @@ impl BackupInfo {
// backup is considered unfinished if there is no manifest
self.files
.iter()
.any(|name| name == super::MANIFEST_BLOB_NAME)
.any(|name| name == MANIFEST_BLOB_NAME)
}
}