curved-television-6568
09/06/2021, 1:17 PMRemovePrefix
to err optional in case the prefix does not exist, with a flag or so?
Otherwise, I’ll do a DigestSubset
with path globs to pick out the files that have, and another subset that doesn’t have, the prefix, then remove prefix from the former, and then merge them back together again. However, it feels a bit clumsy and inefficient..witty-crayon-22786
09/07/2021, 4:28 PMwitty-crayon-22786
09/07/2021, 4:29 PMTransform(digest, [
Move("path1", "."),
Delete("path2"),
])
… or any declarative patterns that people know of.curved-television-6568
09/07/2021, 4:36 PM