Resolve and normalize a composite path
the absolute resolved path without slash at the beginning
the source path
Optional
the directory from the resolve should start to resolve
Resolve and normalize a composite path
Returns
the absolute resolved path without slash at the beginning