Expand description
The parser for SRCINFO data.
It returns a rather raw line-based, but already typed representation of the contents. The representation is not useful for end-users as it provides data that is not yet validated.
Structs§
- Arch
Property - An arbitrarily typed attribute that is specific to an alpm-architecture.
- RawPackage
- The parsed contents of a
pkgnamesection in SRCINFO data. - RawPackage
Base - The parsed contents of a
pkgbasesection in SRCINFO data. - Source
Info Content - A representation of all high-level components of parsed SRCINFO data.
Enums§
- Clearable
Property - Properties used in
pkgnamesections that can be cleared. - Ignored
- Track empty/comment lines
- Package
Base Keyword - Keywords that are exclusive to the
pkgbasesection in SRCINFO data. - Package
Base Property - All possible properties of a
pkgbasesection in SRCINFO data. - Package
Property - All possible properties of a
pkgnamesection in SRCINFO data. - Relation
Keyword - Keywords that describe alpm-package-relations.
- Relation
Property - Properties related to package relations.
- Shared
Meta Keyword - Keywords that may exist both in
pkgbaseandpkgnamesections in SRCINFO data. - Shared
Meta Property - Metadata properties that may be shared between
pkgbaseandpkgnamesections in SRCINFO data. - Source
Keyword - Package source keywords that are exclusive to the
pkgbasesection in SRCINFO data. - Source
Property - Properties related to package sources.
Functions§
- architecture_
suffix - Recognizes and returns the architecture suffix of a keyword, if it exists.
- delimiter 🔒
- Recognizes the
=delimiter between keywords. - till_
line_ 🔒end - Recognizes all content until the end of line.