summaryrefslogtreecommitdiff
path: root/src/modules/snow
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-05-09 17:15:19 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-05-11 15:19:25 -0700
commit80905545cdd85536191486b8fe2095686d197f58 (patch)
tree586212fbbdceea65aa471b50dd7dc3fd48ad1346 /src/modules/snow
parent40feb616242c4e29395659ff1873c9fa35b31dcd (diff)
til_settings: helper for labeling positional instances
When there's a bare-value setting turned into a nested settings instance, there's no key onhand for labeling the instance. But such nameless settings are basically array elements only positionally accessed. This helper produces labels in that style for such settings by taking the container settings label and adding [$idx] to the end. These labels aren't really used as more than a debugging aid at the moment. But module contexts already have paths in main, and it seems like these settings instance labels will likely become the name components in constructing those paths.
Diffstat (limited to 'src/modules/snow')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved