autodoc.git / traditional_manual / chapter_9.html

version» Context lines:

autodoc.git/traditional_manual/chapter_9.html:4645:   <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Copies the file <code>from</code> to the new position <code>to</code>. If there is    no system function for cp, a new file will be created and the    old one copied manually in chunks of 65536 bytes.    This function can also copy directories recursively.</p>   </dd>   <dt class='head--doc'>Returns</dt>   <dd class='body--doc'><p>0 on error, 1 on success</p>   </dd>   <dt class='head--doc'>Note</dt> - <dd class='body--doc'><p>This function keeps file and directory permissions unlike in Pike 7.6 and -  earlier</p> + <dd class='body--doc'><p>This function keeps file and directory mode bits, unlike in Pike +  7.6 and earlier.</p>   </dd></dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>exist</b></span>   </dt>   <dd><p><code><code class='datatype'>int</code> <b><span class='method'>exist</span>(</b><code class='datatype'>string</code> <code class='argument'>path</code><b>)</b></code></p></dd>   
autodoc.git/traditional_manual/chapter_9.html:4902:      <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>recursive_mv</b></span>   </dt>   <dd><p><code><code class='datatype'>int</code> <b><span class='method'>recursive_mv</span>(</b><code class='datatype'>string</code> <code class='argument'>from</code>, <code class='datatype'>string</code> <code class='argument'>to</code><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Copy a file or a directory tree by copying and then -  removing. +  removing. Mode bits are preserved in the copy.    It's not the fastest but works on every OS and    works well across different file systems.</p>   </dd>   <dt class='head--doc'>Returns</dt>   <dd class='body--doc'><p>Returns 0 on failure, nonzero otherwise.</p>   </dd>   <dt class='head--doc'>See also</dt>   <dd class='body--doc'><p><code>recursive_rm</code> <code>cp</code></p>   </dd></dl>