[F] getRelativePathFromDirectory
getRelativePathFromDirectory(from, to, ignoreCase)
function getRelativePathFromDirectory( from, to, ignoreCase): string
Gets a relative path that can be used to traverse between from
and to
.
Parameters
Parameter | Type |
---|---|
from | string |
to | string |
ignoreCase | boolean |
Returns
string
getRelativePathFromDirectory(fromDirectory, to, getCanonicalFileName)
function getRelativePathFromDirectory( fromDirectory, to, getCanonicalFileName): string
Gets a relative path that can be used to traverse between from
and to
.
Parameters
Parameter | Type |
---|---|
fromDirectory | string |
to | string |
getCanonicalFileName | GetCanonicalFileName |
Returns
string