From 32322ff28c151d8ec5510b7019365d573e44bddf Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 25 Apr 2022 12:12:14 +0200 Subject: expression: add "msg" argument to "to_subdir" ... allowing to provide additional information in case of conflict during flat staging. --- doc/concepts/expressions.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/concepts') diff --git a/doc/concepts/expressions.org b/doc/concepts/expressions.org index cfe058ba..c8d2a9a5 100644 --- a/doc/concepts/expressions.org +++ b/doc/concepts/expressions.org @@ -253,7 +253,9 @@ those) argument(s) to obtain the final result. argument ~"flat"~ (default ~false~) evaluates to a true value, the keys are instead replaced by the path concatenation of the ~"subdir"~ argument and the base name of the old key. It is an - error if conflicts occur in this way. + error if conflicts occur in this way; in case of such a user + error, the argument ~"msg"~ is also evaluated and the result + of that evaluatino reported in the error message. ***** Binary functions -- cgit v1.2.3