Skip to main content

load_from_disk

Function load_from_disk 

Source
pub fn load_from_disk(path: &Path)
Expand description

What: Load the official index from disk through arch-toolkit.

Inputs:

  • path: Existing Pacsea index JSON path.

Output:

  • Replaces the process-wide index when loading and conversion succeed.

Details:

  • Invalid or corrupt cache data is ignored so startup remains resilient; name lookup is rebuilt.