Skip to content

os.touchfile

Jérôme Leclercq edited this page Feb 12, 2018 · 3 revisions

Updates the last modified date of a file without changing its contents.

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.

Clone this wiki locally