This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/os.touchfile.md
2021-03-12 22:10:24 +01:00

17 lines
318 B
Markdown

Updates the last modified date of a file without changing its contents.
```lua
ok, err = os.touchfile("filename")
```
### Parameters ###
`filename` is the file system path to the target file.
### Return Value ###
True if successful, otherwise nil and an error message.
### Availability ###
Premake 5.0 or later.