aboutsummaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.cordova/move-to.html
blob: 93ff2b7ab057c365a73b0990fbbf69ea1d4750ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>moveTo - kvision</title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">kvision</a>&nbsp;/&nbsp;<a href="index.html">pl.treksoft.kvision.cordova</a>&nbsp;/&nbsp;<a href="./move-to.html">moveTo</a><br/>
<br/>
<h1>moveTo</h1>
<a name="pl.treksoft.kvision.cordova$moveTo(pl.treksoft.kvision.cordova.Entry, pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String)"></a>
<code><span class="keyword">suspend</span> <span class="keyword">fun </span><a href="-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">.</span><span class="identifier">moveTo</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$moveTo(pl.treksoft.kvision.cordova.Entry, pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String)/parent">parent</span><span class="symbol">:</span>&nbsp;<a href="-directory-entry/index.html"><span class="identifier">DirectoryEntry</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.cordova$moveTo(pl.treksoft.kvision.cordova.Entry, pl.treksoft.kvision.cordova.DirectoryEntry, kotlin.String)/newName">newName</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="-result/index.html"><span class="identifier">Result</span></a><span class="symbol">&lt;</span><a href="-entry/index.html"><span class="identifier">Entry</span></a><span class="symbol">,</span>&nbsp;<a href="-file-exception/index.html"><span class="identifier">FileException</span></a><span class="symbol">&gt;</span></code>
<p>Move given file or directory to a new location.</p>
<h3>Parameters</h3>
<p><a name="parent"></a>
<code>parent</code> - new location parent directory entry</p>
<p><a name="newName"></a>
<code>newName</code> - new location name</p>
</BODY>
</HTML>