dev_scripts::sync

Module mirror

source
Expand description

The mirror module contains all logic to download data from an Arch Linux package mirror. This includes the database files or packages.

Structsยง

Functionsยง

  • extract_pkg_files ๐Ÿ”’
    Use tar to extract relevant package metadata and script files from packages files.
  • get_tar_file_list ๐Ÿ”’
    Get the list of all files inside a given compressed tarball.
  • A small helper function that removes the .pkg.tar.* suffix of a tarball. This is necessary to get the actual package name from a packages full file name.