pub fn get_file_db_sync_timestamp() -> Option<SystemTime>Expand description
What: Retrieve the most recent modification timestamp of the pacman sync database.
Inputs:
- (none): Reads metadata from
/var/lib/pacman/syncon the local filesystem.
Output:
- Returns the latest
SystemTimeseen among.filesdatabases, orNoneif unavailable.
Details:
- Inspects only files ending with the
.filesextension to match pacman’s file list databases.