Crate repodb_parser

source ·
Expand description


repodb_parser parses Arch Linux repository DB’s into Rust data structures. The repository DB’s are expected as gzip or xz compressed tar archives (i.e., *.tar.gz or *.tar.xz files) or symbolic links to such files.




  • Parses an Arch Linux repository DB and returns the content as B-tree map of package meta data structures. The map is sorted by the package name in ascending alphabetical order. parse expects a path to a repository DB file or a symbolic link to such a file. The file must be a gzip or xz compressed tar archive.