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ยง
- Mirror
Downloader - 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.