white space fix
This commit is contained in:
parent
e25736b4c3
commit
be0084b001
|
@ -174,8 +174,8 @@ impl DataStore {
|
||||||
static ref BACKUP_ID_REGEX: regex::Regex = regex::Regex::new("^[A-Za-z][A-Za-z0-9_-]+$").unwrap();
|
static ref BACKUP_ID_REGEX: regex::Regex = regex::Regex::new("^[A-Za-z][A-Za-z0-9_-]+$").unwrap();
|
||||||
}
|
}
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
static ref BACKUP_DATE_REGEX: regex::Regex = regex::Regex::new(
|
static ref BACKUP_DATE_REGEX: regex::Regex = regex::Regex::new(
|
||||||
"^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}$").unwrap();
|
"^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}$").unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
tools::scandir(libc::AT_FDCWD, &path, &BACKUP_TYPE_REGEX, |l0_fd, backup_type, file_type| {
|
tools::scandir(libc::AT_FDCWD, &path, &BACKUP_TYPE_REGEX, |l0_fd, backup_type, file_type| {
|
||||||
|
|
Loading…
Reference in New Issue