lovr.filesystem.getLastModified

Edit

Returns when a file was last modified, since some arbitrary time in the past.

time = lovr.filesystem.getLastModified(path)

Arguments

NameTypeDescription
pathstring The file to check.

Returns

NameTypeDescription
timenumber The modification time of the file, in seconds, or nil if it's unknown.

See also