Explorar o código

Merge pull request #11608 from JamesDeFabia/HPCC-20420Overwrite

HPCC-20420 Document OVERWRITE in STD.File.RenameLogicalFile

Reviewed-By: Attila Vamos <attila.vamos@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman %!s(int64=6) %!d(string=hai) anos
pai
achega
bba0a0d213

+ 10 - 2
docs/EN_US/ECLStandardLibraryReference/SLR-Mods/RenameLogicalFile.xml

@@ -10,8 +10,8 @@
       <primary>File.RenameLogicalFile</primary>
     </indexterm><indexterm>
       <primary>RenameLogicalFile</primary>
-    </indexterm>(</emphasis> <emphasis> filename, newname </emphasis>
-  <emphasis role="bold">)</emphasis></para>
+    </indexterm>(</emphasis> <emphasis> filename, newname,
+  </emphasis>[,allowOverwrite] <emphasis role="bold">)</emphasis></para>
 
   <informaltable colsep="1" frame="all" rowsep="1">
     <tgroup cols="2">
@@ -33,6 +33,14 @@
           <entry>A null-terminated string containing the new logical name for
           the file.</entry>
         </row>
+
+        <row>
+          <entry><emphasis>allowOverwrite</emphasis></entry>
+
+          <entry>Optional. A boolean TRUE or FALSE flag indicating whether to
+          allow the renamed file to overwrite an existing file of the same
+          name. If omitted, the default is FALSE.</entry>
+        </row>
       </tbody>
     </tgroup>
   </informaltable>