Initial community commit
This commit is contained in:
19
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/path.translate.md
vendored
Normal file
19
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/path.translate.md
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
Converts the file separators in a path.
|
||||
|
||||
```lua
|
||||
path.translate("path", "newsep")
|
||||
```
|
||||
|
||||
### Parameters ###
|
||||
|
||||
`path` is the file system path to translate; `newsep` is the new path separator. If `newsep` is not specified a Windows-style backslash is assumed.
|
||||
|
||||
|
||||
### Return Value ###
|
||||
|
||||
The translated path.
|
||||
|
||||
|
||||
### Availability ###
|
||||
|
||||
Premake 4.0 or later.
|
||||
Reference in New Issue
Block a user