aboutsummaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.cordova/copy-to.html
blob: 6cee11db1a12eba1b61ac01ee78e69abe8f35352 (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>copyTo - 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="./copy-to.html">copyTo</a><br/>
<br/>
<h1>copyTo</h1>
<a name="pl.treksoft.kvision.cordova$copyTo(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">copyTo</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.cordova$copyTo(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$copyTo(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>Copy 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>