Initial community commit
This commit is contained in:
19
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/os.copyfile.md
vendored
Normal file
19
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/os.copyfile.md
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
Copies a file from one location to another.
|
||||
|
||||
```lua
|
||||
ok, err = os.copyfile("source", "destination")
|
||||
```
|
||||
|
||||
### Parameters ###
|
||||
|
||||
`source` is the file system path to the file to be copied.
|
||||
|
||||
`destination` is the path to the copy location.
|
||||
|
||||
### Return Value ###
|
||||
|
||||
**True** if successful, otherwise **nil** and an error message.
|
||||
|
||||
### Availability ###
|
||||
|
||||
Premake 5.0 or later.
|
||||
Reference in New Issue
Block a user