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