Method | Description | |
---|---|---|
extname ( string path ) : string |
Return the extension of the path, from the last '.' to end of string in the last portion of the path. If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string.
|
|
join ( string left, string right ) : string |
Join all arguments together and normalize the resulting path.
|
|
normalize ( string path ) : string |
Normalize a string path, taking care of '..' and '.' parts.
|
public join ( string left, string right ) : string | ||
left | string | The left. |
right | string | The right. |
return | string |
public normalize ( string path ) : string | ||
path | string | The path. |
return | string |