Skip to content

os.stat

starkos edited this page Apr 10, 2021 · 3 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Function retrieves information about a file.

info = os.stat("path")

Parameters

path is the file system path to the file for which to retrieve information.

Return Value

If successful, a table of values:

mtime Last modified timestamp
size The file size in bytes

Availability

Premake 4.4 or later.

See Also

Clone this wiki locally