BloombergLP::bdls::FilesystemUtil::FileTruncatePolicy

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>

enum FileTruncatePolicy;

Members

NameDescription
e_TRUNCATE Delete the file's contents on open.
e_KEEP Keep the file's contents.