pub fn get_file_db_sync_info() -> Option<(u64, String, u8)>Expand description
What: Summarize sync database staleness with age, formatted date, and UI color bucket.
Inputs:
- (none): Uses
get_file_db_sync_timestampto determine the last sync.
Output:
- Returns
(age_days, formatted_date, color_category)orNonewhen the timestamp cannot be read.
Details:
- Buckets age into three categories: green (<7 days), yellow (<30 days), red (>=30 days).