mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-20 06:58:32 +08:00
feat: supports cron update profiles
This commit is contained in:
1 parent
17f8703c71
commit
9dd41be608
5 files changed
+190
-49
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user