Gio.Seekable.prototype.can_truncate

function can_truncate(): Boolean {
    // Gjs wrapper for g_seekable_can_truncate()
}
  

Tests if the stream can be truncated.

Returns

true if the stream can be truncated, false otherwise.