Package: gio

Function gio:file-info-attribute

Lambda List

gio:file-info-attribute (info attribute)

Syntax

(g:file-info-attribute info attribute) => value
(setf (g:file-info-attribute info attribute) value)

Arguments

info -- a g:file-info instance
attribute -- a string for the file attribute key
value -- a value for the attribute key

Details

Gets or sets the value of the attribute key. This function replaces the C functions for the various attribute types. The attribute type is determined by calling the g:file-info-attribute-type function for attribute. The corresponding function is then called to obtain or set the attribute value.

Notes

The values for the date and time key attributes are integers representing the Unix UTC time and not the Lisp universal time. See the g:file-info-creation-date-time, g:file-info-access-date-time and g:file-info-modification-date-time functions, which return the Lisp universal time.
 

See also

2026-03-22