get_file_db_sync_timestamp

Function get_file_db_sync_timestamp 

Source
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/sync on the local filesystem.

Output:

  • Returns the latest SystemTime seen among .files databases, or None if unavailable.

Details:

  • Inspects only files ending with the .files extension to match pacman’s file list databases.