Namespaces
path
Enables path-specific operations like join, extension, etc.
Summary
Variables
separator
Gets the string used to separate file paths.
Functions
join
Joins all the provided string components, forming a valid and normalized path.
| Parameter | Default | Description |
paths | | string[]An array of string components to be joined. |
Returns string
normalize
Normalizes a path, taking care of occurrances like ".." and "//".
| Parameter | Default | Description |
path | | stringThe path to be normalized. |
Returns string
- Previous
- knownFolders