[F] getNormalizedAbsolutePath
function getNormalizedAbsolutePath(fileName, currentDirectory): string;Combine a file name with the supplied current directory and reduce . and .. components.
An absolute file name ignores the current directory; no process working directory is inferred.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
fileName | string |
currentDirectory | string | undefined |
Returns
Section titled “Returns”string