Gio.FileInfo.prototype.get_content_type

function get_content_type(): String {
    // Gjs wrapper for g_file_info_get_content_type()
}
  

Gets the file's content type.

Returns

a string containing the file's content type.