get_relative_path: Get relative path

Description

Given a base path and a specific path, returns a string str such that file.path(base_path, str) is the same location as path.

Usage

1
get_relative_path(base_path, path)

Arguments

base_path

the base path

path

a specific path


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.