[#BloombergLP-bdls-FilesystemUtil-FileTruncatePolicy]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::FileTruncatePolicy
:relfileprefix: ../../../
:mrdocs:

Enumeration used to distinguish between different ways to handle the contents, if any, of an existing file immediately upon opening the file&period;

== Synopsis

Declared in `&lt;bdls&lowbar;filesystemutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum FileTruncatePolicy;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `e&lowbar;TRUNCATE` 
| Delete the file&apos;s contents on open&period;
| `e&lowbar;KEEP` 
| Keep the file&apos;s contents&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
