Gio.FileInfo.prototype.set_file_type

function set_file_type(type: Gio.FileType): void {
    // Gjs wrapper for g_file_info_set_file_type()
}
  

Sets the file type in a Gio.FileInfo to type. See %G_FILE_ATTRIBUTE_STANDARD_TYPE.

type

a Gio.FileType.