Skip to content

path.normalize

Jason Perkins edited this page May 18, 2015 · 3 revisions

The path.normalize function 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