premake/website/docs/os.stat.md
KyrietS 393fc4bc04 Docs maintenance
- filled missing heading in tables (intentionally not everywhere)
- fixed link to symbols.md
- removed an accidentally added *.md extension from libX11.so
2021-09-15 22:36:11 +02:00

518 B

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:

Field Description
mtime Last modified timestamp
size The file size in bytes

Availability

Premake 4.4 or later.

See Also