Gio.FileInfo.prototype.get_size

function get_size(): Number(gint64) {
    // Gjs wrapper for g_file_info_get_size()
}
  

Gets the file's size.

Returns

a #goffset containing the file's size.