parseBuildInfo

fnvoid parseBuildInfo(T)(IStr content, ref T info) if (is(T == struct)) @trusted

Parses a build info string into a struct by matching field names to keys. The lines of the string use the format: "key: value" Supports bool, integer, floating point, and string fields. Example: parseBuildInfo("age: 69\ncount: 42", info) sets info.age and info.count.