lovr.filesystem.getLastModified
EditReturns when a file was last modified, since some arbitrary time in the past.
time = lovr.filesystem.getLastModified(path)
Arguments
Name | Type | Description |
path | string | The file to check. |
Returns
Name | Type | Description |
time | number |
The modification time of the file, in seconds, or nil if it's unknown.
|