Skip to main content

Module mirror

Module mirror 

Source
Expand description

All logic for downloading data from an Arch Linux package mirror.

This includes the database files or packages.

Modulesยง

rsync_changes ๐Ÿ”’

Structsยง

MirrorDownloader
The entry point for downloading any data from package mirrors.

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.
remove_tarball_suffix
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.