The resolve function is a algorithm on a file system that return a path from another path.
It is equivalent to the execution of change directory (cd) on every argument but it apply also to file.
resolve('/c','/m','b') = '/m/b'