Skip to content

switch_root(input_path, original_root, new_root)

Processed a path to a destination with an "original_root", and replaces this root, if shared with the input_path, for the new root (entirely included). Previously named SwitchRoot

Parameters:

Name Type Description Default
input_path TYPE

DESCRIPTION.

required
original_root TYPE

DESCRIPTION.

required
new_root TYPE

DESCRIPTION.

required

Returns:

Type Description
TYPE

DESCRIPTION.

Back to top