commit | 11aa1eb9ebc51b3a4878aabb6571e0acdb068c60 | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@google.com> | Fri Jan 06 20:14:48 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 06 20:14:48 2023 +0000 |
tree | c2e620a27037cb858a472cab8f999a6927109d5a | |
parent | ada842c539693968b9d968f54754a2b52810b73c [diff] |
Implement string variable interpolater This adds a `StringSub` struct which inserts variable mappings into a format string and updates download targets' URLs to use it. Change-Id: Ifc0064415a2e541efbeb349006824001dd54158b Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/qg/+/125550 Commit-Queue: Alexei Frolov <frolv@google.com> Reviewed-by: Erik Gilling <konkers@google.com>