Constant ssh2::TRUNCATE []

pub const TRUNCATE: OpenFlags = OpenFlags{bits: raw::LIBSSH2_FXF_TRUNC | CREATE.bits,}

Forces an existing file with the same name to be truncated to zero length when creating a file by specifying Create. Using this flag implies the Create flag.