Initial community commit

This commit is contained in:
Jef
2024-09-24 14:54:57 +02:00
parent 537bcbc862
commit 20d28e80a5
16810 changed files with 4640254 additions and 2 deletions

View File

@@ -0,0 +1,30 @@
Function retrieves information about a file.
```lua
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 ###
* [os.isdir](os.isdir.md)
* [os.isfile](os.isfile.md)