batch_get_remote_file_lists

Function batch_get_remote_file_lists 

Source
pub fn batch_get_remote_file_lists(
    packages: &[(&str, &Source)],
) -> HashMap<String, Vec<String>>
Expand description

What: Batch fetch remote file lists for multiple official packages using pacman -Fl.

Inputs:

  • packages: Slice of (package_name, source) tuples for official packages.

Output:

  • HashMap mapping package name to its remote file list.

Details:

  • Batches queries into chunks of 50 to avoid command-line length limits.
  • Parses multi-package pacman -Fl output (format: “ ” per line).