Gio.FileInfo.prototype.set_size
function set_size(size: Number(gint64)): void {
// Gjs wrapper for g_file_info_set_size()
}
Sets the %G_FILE_ATTRIBUTE_STANDARD_SIZE attribute in the file info to the given size.
- size
a #goffset containing the file's size.