[][src]Function pkginfo::new

pub fn new<P: AsRef<str>>(path: P) -> Result<PkgInfo, Error>

Parses an Arch linux package and automatically chooses the required file format.