Function retrieves information about a file.
info = os.stat("path")
path
is the file system path to the file for which to retrieve information.
If successful, a table of values:
Field | Description |
---|---|
mtime | Last modified timestamp |
size | The file size in bytes |
Premake 4.4 or later.