-
-
Notifications
You must be signed in to change notification settings - Fork 620
os.writefile_ifnotequal
starkos edited this page Apr 10, 2021
·
3 revisions
This wiki is no longer being maintained.
Writes a string to a file, if the string differs from the current version of the file.
ok, err = os.writefile_ifnotequal("text", "filename")
text
is the string to be written to the file.
filename
is the file system path to the target file.
True if successful, otherwise nil and an error message.
Premake 5.0 or later.