This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 61da5c5 Automatic website deployment
61da5c5 is described below
commit 61da5c5a20c2be229da992868501d7e96fc21e28
Author: jenkins <[email protected]>
AuthorDate: Fri Aug 23 12:39:39 2019 +0000
Automatic website deployment
---
documentation/bundles/sling-pipes/writers.html | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/documentation/bundles/sling-pipes/writers.html
b/documentation/bundles/sling-pipes/writers.html
index 91eedea..8b3899b 100644
--- a/documentation/bundles/sling-pipes/writers.html
+++ b/documentation/bundles/sling-pipes/writers.html
@@ -145,6 +145,14 @@
</code></pre>
</li>
</ul>
+<p>following will move resource at <code>/content/foo/old/oldlocation</code>
to under <code>/content/bar/new</code> before <code>newlocation</code></p>
+<pre><code> .echo("/content/foo/old/oldlocation")
+
.mv("/content/bar/new/newlocation").with('orderBeforeTarget',
true)
+</code></pre>
+<p>following will move resource at <code>/content/foo/old/oldlocation</code>
to <code>/content/bar/new/newlocation</code> and overwrite
<code>newlocation</code></p>
+<pre><code> .echo("/content/foo/old/oldlocation")
+
.mv("/content/bar/new/newlocation").with('overwriteTarget',
true)
+</code></pre>
<h5>RemovePipe (<code>rm()</code>)</h5>
<p>removes the input resource, returns the parent, regardless of the resource
being a node, or a property</p>
<ul>
@@ -222,7 +230,7 @@
</div><footer class="footer">
<div class="content has-text-centered is-small">
<div class="revisionInfo">
- Last modified by <span class="author">Nicolas
Peltier</span> on <span class="comment">Tue Feb 12 11:46:55 2019 +0100</span>
+ Last modified by <span class="author">dichaudh</span>
on <span class="comment">Fri Aug 23 15:59:41 2019 +0530</span>
</div> <p>
Apache Sling, Sling, Apache, the Apache feather logo,
and the Apache Sling project logo are trademarks of The Apache Software
Foundation. All other marks mentioned may be trademarks or registered
trademarks of their respective owners.
</p><p>