Initial community commit
This commit is contained in:
17
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/os.touchfile.md
vendored
Normal file
17
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/os.touchfile.md
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
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.
|
||||
Reference in New Issue
Block a user