Initial community commit
This commit is contained in:
21
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/os.comparefiles.md
vendored
Normal file
21
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/os.comparefiles.md
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
Compares two files for binary equality.
|
||||
|
||||
```lua
|
||||
equality, err = os.comparefiles("filename1", "filename2")
|
||||
```
|
||||
|
||||
### Parameters ###
|
||||
|
||||
`filename1` is the file system path to the first file to compare file.
|
||||
|
||||
`filename2` is the file system path to the second file to compare file.
|
||||
|
||||
|
||||
### Return Value ###
|
||||
|
||||
True if the file are identical by content, false if not, returns nil and an error message if an error occurred.
|
||||
|
||||
|
||||
### Availability ###
|
||||
|
||||
Premake 5.0 or later.
|
||||
Reference in New Issue
Block a user