Skip to content

path.normalize

starkos edited this page Apr 10, 2021 · 3 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Tries to create a clean file system representation of a path.

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.

Clone this wiki locally