Gio.FileInfo.prototype.set_name

function set_name(name: String): void {
    // Gjs wrapper for g_file_info_set_name()
}
  

Sets the name attribute for the current Gio.FileInfo. See %G_FILE_ATTRIBUTE_STANDARD_NAME.

name

a string containing a name.