Skip to content

[F] getNormalizedAbsolutePathWithoutRoot

function getNormalizedAbsolutePathWithoutRoot(fileName, currentDirectory): string;

Normalize a file name against the supplied directory, then omit the root component from the result.

ParameterType
fileNamestring
currentDirectorystring | undefined

string