[−][src]Function pkginfo::new_from_xz
pub fn new_from_xz<P: AsRef<Path>>(path: P) -> Result<PkgInfo, Error>
Parses an old xz package. This function is only for backwards compatibility. New packages are in zst format.
The path
specifies the file which is supposed to get parsed