pub fn parse_srcinfo(content: &str) -> SrcinfoDataExpand description
What: Parse full .SRCINFO content into structured data.
Inputs:
content: Raw .SRCINFO file content.
Output:
- Returns
SrcinfoDatawith aggregate fields populated.
Details:
- Parses all fields including pkgbase, pkgname, pkgver, pkgrel and package arrays.
- Existing aggregate fields retain their historical first-name/merged-array behavior.
- Graph-only split-package selection is kept internal to preserve public struct-literal compatibility.
- Returns default
SrcinfoDatawith empty fields if content is malformed.