truncate constant

SftpFileOpenMode const truncate

Forces an existing file with the same name to be truncated to zero length when creating a file by specifying create. create MUST also be specified if this flag is used.

Implementation

static const truncate = SftpFileOpenMode._(1 << 4);