You can use the UniquePath
transform to ensure there are no path
conflicts between files transformed. You can often use this at the tail of a Chain.
Syntax reference
UniquePath(CONFLICT-RESOLUTION)
Where CONFLICT-RESOLUTION
is the resolution strategy you want to use from the list in Available strategies.
Examples
The following example concatenates the file that was originally named DEPLOYMENT.md
to the file README.md
:
Include({"README.md"})
+ Include({"DEPLOYMENT.md"})
.RewritePath({rewriteTo: "README.md"})
UniquePath(Append)
See also
UniquePath
uses a Conflict Resolution strategy to decide what to do when several input files use the samepath
.
Content feedback and comments