소스 검색

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 6 년 전
부모
커밋
bba0a0d213
1개의 변경된 파일10개의 추가작업 그리고 2개의 파일을 삭제
  1. 10 2
      docs/EN_US/ECLStandardLibraryReference/SLR-Mods/RenameLogicalFile.xml

+ 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>