Expand description
Parser for alpm-db-desc files.
EnumsΒ§
- Section
- A single logical section from a database desc file.
- Section
Keyword - A known section name in an alpm-db-desc file.
FunctionsΒ§
- end_
of_ πvalues - Recognizes the end of a list of values, without consuming anything.
- newlines π
- One or multiple newlines.
- section π
- Parses a single
%SECTION%block and returns aSectionvariant. - sections π
- Parses all
%SECTION%blocks from the given input into a list ofSections. - try_
value_ πfrom - A parser helper, which returns a
FromStr-style parser for types that donβt implement their own parser. - try_
values_ πfrom - A parser helper for multi-value types, which returns a
FromStr-style parser for types that donβt implement their own parser. - values π
- Parses a list of values, where each value is in its own line.