pub fn is_file_db_stale(max_age_days: u64) -> Option<bool>Expand description
What: Check if the pacman file database is stale and needs syncing.
Inputs:
max_age_days: Maximum age in days before considering the database stale.
Output:
- Returns
Some(true)if stale,Some(false)if fresh,Noneif timestamp cannot be determined.
Details:
- Uses
get_file_db_sync_timestamp()to check the last sync time.