cozystack/packages/library/cozy-lib/templates/_strings.tpl
Timofei Larkin 55f6882387 [cozy-lib] Add a hexToInt helper
Simplifies parsing sha256 digits to decimals for the VPC peering
feature.

Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
2026-03-19 07:29:50 +03:00

3 lines
106 B
Smarty

{{- define "cozy-lib.strings.hexToInt" }}
{{- printf "num: 0x%s" . | fromYaml | dig "num" 0 }}
{{- end }}