[F] getRelativePathFromDirectory
getRelativePathFromDirectory(from, to, ignoreCase)
function getRelativePathFromDirectory( from, to, ignoreCase): stringGets 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): stringGets a relative path that can be used to traverse between from and to.
Parameters
| Parameter | Type |
|---|---|
fromDirectory | string |
to | string |
getCanonicalFileName | GetCanonicalFileName |
Returns
string