feat: supports cron update profiles

This commit is contained in:
GyDi authored and GitHub committed 2022-04-20 20:37:16 +08:00
1 parent 17f8703c71
commit 9dd41be608
5 files changed
+190 -49

No files matched your search

-11
View File
@@ -102,17 +102,6 @@ impl PrfOption {
return one;
}
pub fn diff_update_interval(one: Option<&Self>, other: Option<&Self>) -> bool {
if one.is_some() && other.is_some() {
let one = one.unwrap();
let other = other.unwrap();
return one.update_interval == other.update_interval;
}
return false;
}
}
impl Default for PrfItem {