Method

GioFileInfoget_content_type

Declaration

const char*
g_file_info_get_content_type (
  GFileInfo* info
)

Description

Gets the file’s content type.

Return value

Returns: utf8
 

A string containing the file’s content type, or NULL if unknown.

 The data is owned by the instance.
 The return value can be NULL.
 The string is a NUL terminated UTF-8 string.