libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit e9fcdd18a153944adfd5d71d71a746c5d4677191
parent 76c661cc022d0080778559d3194217eec77e766c
Author: Florian Dold <florian@dold.me>
Date:   Mon,  9 Oct 2023 23:00:54 +0200

-comment

Diffstat:
Mutil/src/main/kotlin/TalerConfig.kt | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/util/src/main/kotlin/TalerConfig.kt b/util/src/main/kotlin/TalerConfig.kt @@ -319,6 +319,13 @@ class TalerConfig( return null } + /** + * Substitute ${...} and $... placeholders in a string + * with values from the PATHS section in the + * configuration and environment variables + * + * This substitution is typically only done for paths. + */ fun pathsub(x: String, recursionDepth: Int = 0): String { if (recursionDepth > 128) { throw TalerConfigError("recursion limit in path substitution exceeded")