get_content_type


Description:

public unowned string? get_content_type ()

Gets the file's content type.

It is an error to call this if the FileInfo does not contain g_file_attribute_standard_content_type.

Parameters:

this

a FileInfo.

Returns:

a string containing the file's content type, or null if unknown.