relative
Deprecated
Use relativize instead
Replace with
relativize(root, path)
Content copied to clipboard
Computes the relative path from the specified root to the given path.
Return
The relative path as a string, or null if the relative computation is not possible.
Parameters
root
The root path to which the relative computation is performed.
path
The path for which the relative computation is performed.