Package: gio

Function gio:file-info-modification-date-time

Lambda List

gio:file-info-modification-date-time (info)

Syntax

(g:file-info-modification-date-time info) => time
(setf (g:file-info-modification-date-time info) time)

Arguments

info -- a g:file-info object
time -- a Lisp universal time

Details

Gets or sets Sets the "time::modifieed" and "time::modified-usec" attributes in the file info to the given time value. The "time::modified-nsec" attribute will be cleared.

It is an error to retrieve the modified time if info does not contain the "time::modified" attribute. If the time::modified-modified-usec attribute is provided, the resulting time will additionally have microsecond precision.

If nanosecond precision is needed, the "time::modified-nsec" attribute must be queried separately using the g:file-info-attribute function.
 

See also

2026-03-22