Crate pacmanconf
source · [−]Expand description
PacmanConf
pacmanconf is a simple parser for pacman config files.
This parser parses pacman config files textually. It makes no attempt convert fields such as SigLevel or Usage into bitfields.
pacmanconf is a wrapper around the pacman-conf binary. Instead of fully parsing pacman.conf files, pacman-conf is used as an intermediate step to greatly simplify the parser logic.
However this is more of an implementation detail and pacman-conf will be called automatically when parsing files.
Structs
A pacman config.
The error type for pacman.conf parsing.
Error Line holds a line of text and the line number the line is from.
A Pacman repository.
Enums
A list of possible errors that may occur when parsing a pacman.conf