Package: gio

Function gio:file-info-content-type

Lambda List

gio:file-info-content-type (info)

Syntax

(g:file-info-content-type info) => ctype
(setf (g:file-info-content-type info) ctype)

Arguments

info -- a g:file-info instance
ctype -- a string for the content type

Details

The g:file-info-content-type function gets the content type of the file. It is an error to call this function if info does not contain the G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE attribute.

The (setf g:file-info-content-type) function sets the content type attribute for a given info.
 

See also

#2025-06-15