You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by np...@apache.org on 2019/08/23 11:26:19 UTC
[sling-site] branch master updated: MOVE-PIPE-DOCUMENTATION for
issue : https://issues.apache.org/jira/browse/SLING-8648
This is an automated email from the ASF dual-hosted git repository.
npeltier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/master by this push:
new c323921 MOVE-PIPE-DOCUMENTATION for issue : https://issues.apache.org/jira/browse/SLING-8648
new 620c6fa Merge pull request #39 from dichaudhary/MOVE-PIPE-DOCUMENTATION
c323921 is described below
commit c323921502c6ce8765a7201efe96ff60b6922499
Author: dichaudh <di...@adobe.com>
AuthorDate: Fri Aug 23 15:59:41 2019 +0530
MOVE-PIPE-DOCUMENTATION for issue : https://issues.apache.org/jira/browse/SLING-8648
---
.../content/documentation/bundles/sling-pipes/writers.md | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/main/jbake/content/documentation/bundles/sling-pipes/writers.md b/src/main/jbake/content/documentation/bundles/sling-pipes/writers.md
index f8d68f1..52bd72a 100644
--- a/src/main/jbake/content/documentation/bundles/sling-pipes/writers.md
+++ b/src/main/jbake/content/documentation/bundles/sling-pipes/writers.md
@@ -41,6 +41,17 @@ JCR move of current input to target path (can be a node or a property)
.echo("/content/foo/old/location")
.mv("/content/bar/new/location")
+following will move resource at `/content/foo/old/oldlocation` to under `/content/bar/new` before `newlocation`
+
+ .echo("/content/foo/old/oldlocation")
+ .mv("/content/bar/new/newlocation").with('orderBeforeTarget', true)
+
+following will move resource at `/content/foo/old/oldlocation` to `/content/bar/new/newlocation` and overwrite `newlocation`
+
+ .echo("/content/foo/old/oldlocation")
+ .mv("/content/bar/new/newlocation").with('overwriteTarget', true)
+
+
##### RemovePipe (`rm()`)
removes the input resource, returns the parent, regardless of the resource being a node, or
a property