Gio.FileInfo.prototype.set_content_type
function set_content_type(content_type: String): void {
// Gjs wrapper for g_file_info_set_content_type()
}
Sets the content type attribute for a given Gio.FileInfo. See %G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE.
- content_type
a content type. See [GContentType][gio-GContentType]