Skip to contents

Builds the path to the dependency relative to the installed package files.

Usage

build_read_path_rel(root_dir, write_path)

Arguments

root_dir

The path to the root directory of the webpage.

write_path

The write path of the dependency.

Value

The relative path of the dependency.

Details

Starts with the write path of the dependency, and strips off the root directory of the write path. The remainder of the path is the relative path of the dependency, which can then be used to find it in the installed package files.