This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/path.normalize.md

23 lines
386 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Tries to create a clean file system representation of a path.
```lua
path.normalize("path")
```
Normalization includes removing duplicate and trailing slashes, leading "./" sequences, and filtering out "../" sequences where possible.
### Parameters ###
`path` is the path to be normalized.
### Return Value ###
The normalized path.
### Availability ###
Premake 5.0 or later.