[#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. == Synopsis Declared in `<bdls_filesystemutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum FileTruncatePolicy; ---- == Members [cols="1,4"] |=== | Name| Description | `e_TRUNCATE` | Delete the file's contents on open. | `e_KEEP` | Keep the file's contents. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#