dev_scripts::sync::mirror

Function remove_tarball_suffix

source
pub fn remove_tarball_suffix(pkg_name: String) -> Result<String>
Expand description

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.